Git
$ git diff > changes.patchCreate a patch file.
$ git diff {commit-hash} > changes.patchCreate a patch file containing multiple commits. The patch will contain changes from all commits after {commit-hash} but not including.
$ git apply changes.patchApply a patch file.
$ git push --delete origin <tag>Delete a git tag on a remote server.
$ git worktree add ../new-location branch-nameCreate another version of the repository in another location.
$ git worktree remove -f ../new-locationRemove a worktree.