Head over to GitHub and copy the repository URL. Now in the Git bash set the new remote and verify the new remote URL. Now finally push the changes in your local repository to the remote repository. There you go! Now head over to Github and check our your new file! Good job! Now go […]
In the local folder use Git bash and initialize the folder. Now go ahead and create a README.md file, add and stage the files and commit the changes to prepare to push to the remote repository. Now next time we’ll add our remote repository and push the changes.
Now head over to github.com/new here. To avoid errors don’t add any files to the project. This can be done later. Next click create and in the next post we’ll initialize the local directory.
Let’s add source control to a local directory with Github like here. First download Git from here. Next launch Git Bash. Now create a new folder for your project and move into the folder. Great! Now in the next post we’ll create our Github repository.