can you make a platform agnostic function in GO to parse the .gitconfig file?