git list old remote branches code example Example: remove old remote branches git git remote prune origin