دستورات سادهٔ گیت

git status -s

git diff
git diff --staged
git diff --cached
git difftool

git commit -v
git commit -a

git rm <file>
git rm -f <file>
git rm --cached <file>

git log -p
git log -2
git log --stat
git log --pretty=oneline
git log --graph
git log -S <string>
git log --no-merges

git commit --amend
git reset HEAD <file>
git checkout -- <file>

git remote
git remote -v

git tag
git tag -l "v5*"
git tag -a v1 -m "my version 1"
git show <tag_name>
git tag v2
git tag -a v3 <commit_id>
git push <remote> <tag_name>