#if case sensitive file renaming problem, run this in your terminal git config core.ignorecase false #move file/dir git mv dir1 dir2 OR git mv filename1 filename2 #if above approach doesn't work, do this git mv dir1 tmp git mv tmp dir2