$ git config --global user.name "[name]"
$ git config --global user.email "[email address]"
$ git config --global init.defaultBranch main
$ git init [project-name]
$ git clone [url]
$ git status
$ git diff
$ git add [file]
$ git diff --staged
$ git reset [file]
$ git commit -m"[descriptive message]"
$ git branch
$ git branch [branch-name]
$ git checkout [branch-name]
$ git merge [branch-name]
$ git branch -d [branch-name]
$ git reset [commit]
$ git reset --hard [commit]
$ git rm [file]
$ git rm --cached [file]
$ git mv [file-original] [file-renamed]
A text file named .gitignore suppresses accidental versioning of files and paths matching the specified patterns
*.log
build/
temp-*
$ git ls-files --others --ignored --exclude-standard
$ git stash
$ git stash pop
$ git stash list
$ git stash drop
$ git log
$ git log --follow [file]
$ git diff [first-branch]...[second-branch]
$ git show [commit]
$ git reset [commit]
$ git reset --hard [commit]
$ git fetch [remote]
$ git merge [remote]/[branch]
$ git push [remote] [branch]
$ git pull
(প্রক্রিয়াধীন)
