Helpful git command list
Rename git branch name in local and remote.
git branch -m old_branch new_branch # Rename branch locally git push origin :old_branch # Delete the old branch git push --set-upstream origin new_branch # Push the new branch, set local branch to track the new remote
Log listing in various style
# For full path names of changed files: git log --name-only # For full path names and status of changed files: git log --name-status # ⭐️For abbreviated pathnames and a diffstat of changed files: git log --stat