I am trying to download a software package on the terminal, but I am getting the following error:
error: could not expand include path '~/.gitcinclude'
fatal: bad config line 44 in file /usr/local/git/etc/gitconfig
The solution suggested here requires that I edit the gitconfig file. I am completely new to all of this, so I am not sure how to go about editing this file. I have tried using nano to edit the file, but when I try to write out, I get the message "Permission denied". Any suggestions would be much appreciated.