how to change the file name in git code example Example: git rename file $ git mv old_filename new_filename