Using the command line, you can add, rename, and move files in a repository.

Adding a file to a repository using the command line

You can upload an existing file to a GitHub Enterprise repository using the command line.

Renaming a file using the command line

You can use the command line to rename any file in your repository.

Moving a file to a new location using the command line

You can use the command line to move files within a repository by removing the file from the old location and then adding it in the new location.