How to create a repository using git and GitHub for beginners.

A repository is a storage location for software packages. For one to create it, you must have git installed on your computer and a Github account.

Open your git bash, Create your local project in your desktop directed towards a current working directory, Initialize the git repository. Add the file to the new local repository, Commit the files staged in your local repository by writing a commit message by git commit -m ‘your message.

Copy your remote repository URL from your GitHub, add the copied URL to your local content, push the code in your local repository to GitHub using command git push -u origin master.

lastly view your files in your repository hosted on GitHub.

Thanks for reading

--

--

--

Am a computer scientist, software developer, a teacher of Math and ICT.

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

CS373 Spring 2022: Brock Moore Week 10

Are you still using SQL ‘LIKE’?

A plea to Google. Get your stuff in Order.

Technical Data Roadmap: Why and how to build it using a maturity matrix?

Testing Microsoft Tunnel

Integration Modernization in Action

How to Write a Go Function That Returns True If It Finds One Item (String, Integer, etc.)

Precise footage of Vince’s bot farm at perform

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Kato Nicholas

Kato Nicholas

Am a computer scientist, software developer, a teacher of Math and ICT.

More from Medium

How to start with Machine Learning .NET

On Destroying Julian Assange

Which Coding Language Should I Learn in 2020?

GitHub for Newbies