Added options to prune old branches when fetching and rebase when pulling.