Creating a Branch
Learn how Git lets us create branches seamlessly and quickly.
We'll cover the following
The git branch
command
The git branch
command is a useful, multi-purpose tool that lets us do a lot of different things. When used as is (without any other options appended), the command will print out all the branches present in the repository and point out which branch we are currently on.
git branch
Let’s use it in the terminal and see what happens.
Create a free account to view this lesson.
By signing up, you agree to Educative's Terms of Service and Privacy Policy