Fixing gitconfig and setting automatic file type