cleanup
Extract git-gsub