I am trying to clone a GitHub repository to a new work laptop running windows 10. I receive this error when running git clone https://url_to_repo.git
fatal: bad config line 1 in file L:/Documents/project/.git/config
I've tried reinstalling git and looking at the .gitconfig file to make sure there aren't any incorrect settings that I can see.
I'm not sure why this would happen because the file it's saying has the issue is generated when cloning the repository.
This is from an enterprise GitHub account - if that makes a difference.