Clean git repo before publishing