how to rename a subfolder in github repository code example Example: git rename file $ git mv old_filename new_filename