Is there a way to tell git to automatically create/populate .gitignore and certain files in the .git/hooks folder every time git init is run on a certain machin
.gitignore_global in your home directory. If the file isn't there create it. Same syntax as .gitignore files. Be careful what you place in this file!
If all users wish to share the same .gitignore file, you can create one in
/.SHARED_GIT_IGNORE
Then create soft links to it in each respective users home directory.
/Users/ALL_USERS/.gitignore_global -> /.SHARED_GIT_IGNORE