rename folder using git bash code example
Example 1: rename folder bash
mv /home/user/oldname /home/user/newname
Example 2: how to rename a file inside git bash
$ git clone [email protected]:username/reponame.git
$ cd reponame
$ git mv README README.md
$ git commit -m "renamed"
$ git push origin master