This week, I was introduced to Git and GitHub as part of my Data Science learning journey.
At first, I found Git a little confusing. There were several commands to learn, and I wasn't sure how they all fitted together.
After practising, I started to understand that Git is mainly about keeping track of changes to my work.
The basic process I learned was:
Working Directory → Staging → Commit → Push
Working Directory
The working directory is basically where I do my work on my computer.
When I create or edit a file, the changes are made here first.
One of the first commands I learned was:
bash
git status
This article was originally published by DEV Community and written by Zena Muhoro.
Read original article on DEV Community