• In this tutorial, I will be teaching you how to:
Download Git
Configure your git
Work with the configured environment
Clone your github repo.
Push to Github
Let's begin.
Step 1: Download Git
Use this link - (https://git-scm.com/downloads) to download Git.
Step 2: Configure your git
Give your Git a Name & Email.
Step 3: Work with the Git environment.
• Make a directory & change the directory to what you created (Give it any name)
• Initialize a git branch
• Create a file
• Add contents to the file you just created
Step 4: Clone your github repo
• Sign in to your github & create a new repository
• Copy your repository code
• Clone the repository to your git
Step 5: Push your File to Git
• Commit the Git (You can also add a message to the commit by inputting '-m' then the message)
• Now push your file to Github. NB: You will be asked to login your github acct to authorize access.
• Your File has been successfully pushed to Github
Get your file link from Github & View your code on a browser
• If you don't see the link immediately after saving, refresh the browser
Congratulations on pushing your Git File to Github 🎉
Top comments (0)