Cloning Remote Repos

Let us now try to commit the changes. Try to commit the changes with the message Added fox-and-grapes story . And you might get an error that says Please tell me who you are

This is because Max has cloned the repository, but Git doesn’t know who Max is. Max needs to tell Git his username and email address. For this use the command git config "" and git config "max"

The issue is that i’m running the “git add” & " git commit" commands from max(master)$ and it gives the error:
fatal: unable to create /home/sarah/story-blog/.git/index.lock: Permission denied

Hi @tusharm78,

Try the following command:
sudo chown -R <owner>:<group> .git
In your case, I can see that the username is sarah so It would be
sudo chown -R sarah:sarah .git