Adding existing folders to GitHub - Windows
- Download and Install something like Git Bash
- Create a new repository on GitHub.
- Note: To avoid errors, do not initialize the new repository with README, license, or gitignore files.
- Open Git Bash and navigate to the parent directory of your folders
- Initialize the local directory as a Git repository.
- Add the files in your new local repository. This stages them for the first commit.
- Commit the files that you've staged in your local repository.
- At the top of your GitHub repository's Quick Setup page, click to copy the remote repository URL. In the Command prompt, add the URL for the remote repository where your local repository will be pushed.
- Push the changes in your local repository to GitHub.