new


Git Command Checkout

Checkout lets us checkout & switch to a branch.


Terminal example:

Terminal
>
git checkout -b branchName
> Output:

# allows us to create a new branch and name it

Some git checkout examples:


git checkout develop
# will switch our brach to a branch name develop

git checkout branchName
# will switch our brach to a branch name branchName