A guide to getting started with Git and Github

Step 1: Create a repository in Github

Step 2: Configure git

git config --global user.name "my_username"
git config --global user.email "my_email@example.com"

Step 3: Clone GitHub repository

git clone "paste the URL you just copied"

Step 4: Make changes and add to git

git status
git add <filename_one>
git add --all

Step 5: Commit changes with a message

git commit -m "<add your commit message here>"
git push
git push origin master

Congratulations! 🎉 🎉 🎉

--

--

--

Full-Stack Web Developer

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

Recommended from Medium

Creating a Data Pipeline with EasyJobs & FastAPI

Deploy an sample GRPC application and test connectivity via nginx ingress.

Regipy: Automating registry forensics with python

Garbage Collection

How to Integrate a Payment Gateway in Your Mobile Application

Configuring Oracle RDS for sending emails using Simple Email Service (SES)

Friends Don’t Let Friends Build Landing Zones

Trends in fingerprint matching of peptides using Tanimoto, RDKit, and Cocktail Shaker.

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
Abdullah Al Mamun

Abdullah Al Mamun

Full-Stack Web Developer

More from Medium

Git and GitHub (Part-2)

Git — a simple introduction

What you need to know about git rebase and git merge as a beginner

Git, Github, what is it?