Git
git branchgit clone repo_locationgit pull origin branch_namegit push origin branch_namegit commit -S[GPG key]git merge branch_to_merge -S[GPG key]git merge brach_to_merge --no-commit --no-ffgit statusgit stashgit stash applygit diffgit diff --cachedgit fetch and git mergegit rm --cached <filePath>git reset -- <filePath>git pull origin $(git branch | awk '/*/ {print $2}')git checkout -b new_branchgit reset PATHgit remote add origin ssh://login@IP/path/to/repositorygit remote -vgit remote add origin http://IP/path/to/repositorygit remote set-url origin https://github.com/username/repogit remote updategit show GITCOMMITHASHgit diff BRANCH_NAME PATH_INSIDE_REPOgit branch -D BRANCH_NAMEgit commit --author="Name <email@example.com>"git commit --amend --author="Name <email@example.com>"git statusgit add -A--local flag is default, for global use --global flag instead of --local flag
git config --local user.signingkey "GPG_SHORT_ID"
git config --local commit.gpgsign true
git config --local user.email "name@domain"
git config --local user.name "Name"
git config --local user.username "username"
git config --global gpg.program $(Resolve-Path (Get-Command gpg | Select-Object -Expand Source) | Select-Object -Expand Path)