git --version
git help <commands>*
git config --global user.name <user>
git config --global user.email <email>
git config --list
git init
git status
git add --all
git add .
git commit -m "<message>"
git commit --amend
git tag <tag> -m "<message>"
git tag
git tag -d <tag>
git tag -a <tag> <commit> -m "<message>"
git show <tag>
git reset
git reset --soft
git reset --hard <commit>
git log --oneline
git log --oneline --graph --all
git checkout <commit>
git diff <commit> <commit>
git branch <branch>
git branch
git checkout <branch>
git checkout -b <branch>
git branch -m <branch>
git branch -d <branch>
git merge <branch>
git merge --no-ff <branch>
git rebase <branch>
To upload our project we must create a remote repository. When created, it will show us a series of commands to upload the project. It will ask for your git account username and password if you haven't registered it yet.
git remote add origin <url>
git remote set-url origin <url>
git remote -v
git push -u origin <branch>
git push
git push origin <branch>
git push origin --delete <branch>
git push --tags
git tag -d <tag>
git push origin :refs/tags/<tag>
git pull
git pull origin <branch>
git clone <url>
git clone --branch <branch> <url>