how to clean up remote git branches code example Example: git clean local remote branch git fetch origin --prune