# How to Move Files in Github

> To move files in GitHub, navigate to the repository, select the file, and click the edit pencil icon. Modify the path in the filename field, click 'Commit changes', provide a commit message, choose a branch option, and click 'Commit changes' again to save.

Canonical: https://livedemo.ai/tutorials/how-to-move-files-in-github/
Apps: GitHub
Updated: 2026-10-05
Interactive demo: https://story-api.livedemo.ai/workspaces/62255d3d3304f17b8f5e2d03/stories/692a49fbab56e05a00ff5057/preview?step=1

## Steps

1. Navigate to the repository where your file is located.
2. Go to the file you want to move and click on it.
3. Click on the pencil icon to edit the file.
4. Modify the path in the filename field at the top.
5. Click 'Commit changes'.
6. Provide a commit message and description explaining the changes.
7. Commit your changes by selecting either 'Commit directly to the main branch' or 'Create a new branch for this commit and start a pull request'.
8. Click 'Commit changes'.
9. By following these steps, you can move files in Github by creating a new path.
