Stuff I took from https://about.gitlab.com/2016/12/08/git-tips-and-tricks/
git config --global fetch.prune true
git config --global rebase.autosquash truegit checkout master
git branch --merged master | grep -v "master" | xargs -n 1 git branch -d
git remote prune origin