don't define git bits unless git is present
function to remove backup files from an entire git repo