to prune git repositories