1. Create and initialize a code repository (repository)
$ git init
2. Check the current status
$ git status
3. Push the modified file into the buffer
$ git add <filename>
$ git commit -m "some marks"
4. Synchronize the remote code base to the local
$ git clone <url>
5. Push the local code to the remote warehouse
$ git push origin master
6. Create a branch
$ git branch <branch_name>
7. Enter the branch
$ git checkout <branch_name>
8. View branches
$ git branch
9. Delete branch
$ git branch -d <branch_name>
10. Merge branches
$ git merge <branch_name_to_merge>