Learn git

For older notes:

show all branch

git branch: Prints all branches and * indicated is the current branch.

Creating new branch

git branch test : will make test named branch.

git branch somebranch SourceBranchHere will make somebranch named branch.

switching to other branch

git checkout branchName


git log