Search⌘ K
AI Features

Creating and Pushing Branches

Understand how to create branches in a local Git repository, make changes, and push those branches to a remote repository. Explore the process of managing branches between local and remote, and familiarize yourself with essential Git commands for collaborative development.

We'll cover the following...

In this section, you’re going to familiarise yourself with how branches are managed between the two and what exactly goes on in a push.

Setup

First, set up a simple origin Git repository and clone it like you did before.

1	mkdir -p lgthw_pushing
2	cd lgthw_pushing
3	mkdir git_origin
4	cd
...