Modify command "git remote update" to use "--prune" option
Modify command "git remote update" to use "--prune" option

To clean up stale branches in local mirror repository

sonots/capistrano-bundle_rsync