Skip to main content
Get your local development environment ready to contribute to Learn Git Branching.

Prerequisites

Before you begin, ensure you have the following installed:
  • Node.js (v14 or higher)
  • Yarn package manager
  • Git version control

Clone the Repository

1

Fork and clone

Fork the repository on GitHub, then clone your fork:
git clone https://github.com/YOUR_USERNAME/learnGitBranching.git
cd learnGitBranching
2

Install dependencies

Install all project dependencies using Yarn:
yarn install
This will:
  • Install all npm packages defined in package.json
  • Set up the development environment
  • Run the initial build automatically (via the prepare script)
3

Verify installation

After installation completes, you should see a generated index.html in the root directory and build artifacts in the ./build directory.

Development Tools

Learn Git Branching uses several key development tools:

Build System

  • Gulp: Task automation and build orchestration
  • Browserify: Module bundling for JavaScript
  • Babel: JSX and modern JavaScript transpilation

Testing

  • Jasmine: Test framework for unit and integration tests
  • NYC: Code coverage reporting
  • JSHint: JavaScript linting

Development Server

  • Vite: Fast development server with hot module replacement

Online Development

If you prefer not to set up a local environment, you can develop in pre-configured online workspaces:

Gitpod

Launch a fully configured development environment in your browser

Codeanywhere

Develop with a cloud-based IDE

Next Steps

Once your environment is set up, you’re ready to start building:

Build docs developers (and LLMs) love