git init
git clone [url]
git config --global user.name "[name]"
git config --global user.email "[email address]"
git branch "branch-name"
git checkout "branch-name"
git status
The -d option stands for --delete, which would delete the local branch, only if you have already pushed and merged it with your remote branches.
git branch -d "branch-name"
The -D option stands for --delete --force, which deletes the branch regardless of its push and merge status, so be careful using this one!
git branch -D "branch-name"
git push "remote-name" --delete "branch-name"
git merge "branch-name"
git push origin
git commit -m "commit-message"
13) Updates your current local working branch with all new commits from the corresponding remote branch
git pull
git stash
git stash pop
git reset "commit-id"
git remote update origin --prune