Solved git Fatal: cannot create directory at : Permission denied

git Fatal: cannot create directory at : Permission denied

Today morning all of a sudden when I tried to switch my branch using git command or using bit bucket I got a error git Fatal cannot create directory at : Permission denied. I tried the following command by doing force switching the branch. I tried to take pull in current branch but nothing was working. Later I closed my code editor and closed my box server which was running locally on my system and I tried to switch branch it started working 

Comments