git config --global user.name "<username>"
# example
git config --global user.name "codayon"
git config --global user.email "<email>"
# example
git config --global user.email "[email protected]"
git remote add <alias> <repo-url>
# example
git remote add origin [email protected]:codayon/dotfiles.git
git add <file-location>
# example
git add src/ *json index.html
git commit -m "<message>"
# example
git commit -m "feat(lang): add bangla language"
git branch -M <branch>
# example
git branch -M main
git push -u <alias> <branch>
# example
git push -u origin main
git reset --soft HEAD~<number>
# example
git reset --soft HEAD~1
git push --force