git show <commit-hash> # Show commit information
git show <commit-hash> --patch # Show diff of the changes committed
git show <commit-hash> -p
git merge-base feature_branch main # Find the commit hash where feature_branch was created from main
git log --graph --oneline --all
git reflog feature_branch
git tag # List of tags
git show-ref --tags # More details about tags
git fetch --tags # Fetch tags from remote repository
git ls-remote --tags origin # List tags on remote
# Delete remote branch
git push origin --delete branch_name
# Delete local branch
git branch -d branch_name
# Force delete local branch
git branch -D branch_name
# After deleting remote branches, sync information with local
git fetch origin --prune