Introduction
In this chapter, we'll take a look at various tools used for repository maintenance. We'll look at how we can easily delete branches in the local repository that have been deleted from the remote repository. We'll also see how we can trigger garbage collection and how to turn it off. We'll take a look at how a repository can be split with the filter-branch
command, and how the same command can be used to rewrite the history of a repository. Finally, we'll take a quick look at how to integrate other Git projects into a Git repository as subprojects, with either the submodule functionality or the subtree strategy.