Easily rewriting Git URLs from HTTPS to SSH and vice versa
How to use Git's config to rewrite HTTPS URLs to SSH and vice versa, for repo pushes and pulls.
git worktree to have multiple branches checked out at once
How to use
git worktree to check out multiple Git branches from the same repo at once.
Using Git refs to check out GitHub Pull Requests, from your local repo
How to pull the Git refs for Pull Requests to your GitHub repo.
Using Git refs to check out GitLab Merge Requests, from your local repo
How to pull the Git refs for Merge Requests to your GitLab repo.
Using Git refs to help track your GitLab Environments, from your local repo
How to pull the Git refs that GitLab Environments exposes in your GitLab repo.
git commit --fixup= to track changes that need to be applied on top of another commit
git commit --fixup= and
git rebase --autosquash to easily track and squash fix commits.
Backporting/Replaying Changes Using
git cherry-pick to make it easier to backport or replay Git commits across different versions of your codebase.
Safely Force Pushing with Git using
git push --force-with-lease=ref can save you from overriding others' changes on shared Git branches.
Viewing Git history of a file in
git log while ignoring file renames
How to track changes to files in Git without pesky file renames getting in the way, using
git log --follow.