clgitb() {
# Update remotes tracking data
git fetch origin
# Delete the refs to remote branches that no longer exist.
git remote prune origin
# Remove local fully merged branches
git branch -vv | grep "origin/.*: gone]" | awk '{print $1}' | xargs git branch -D
}