rename commanda file code example Example 1: git rename file Click to copy$ git mv old_filename new_filename Example 2: bash rename file Click to copymv oldname newname