git rename file

Shell
$ git mv old_filename new_filename$ git clone [email protected]:username/reponame.git
$ cd reponame
$ git mv README README.md
$ git commit -m "renamed"
$ git push origin master

Source

Also in Shell: