Update scripts for .gitconfig and .gitignore
Reduce duplicated methods