Member-only story
Entering the world of software development can be daunting, particularly when it involves navigating version control systems like Git and collaboration platforms like GitHub. This article is both a note to myself and a guide for others who may struggle with integrating Git, GitHub, and Docker into their workflows.
What is Git? Think of Git as a history book of your project’s files. It allows you to turn back the pages to previous chapters (versions) of your work, giving you the freedom to review past versions and revert to them if needed.
What is GitHub? GitHub serves as a library for your Git projects. It allows you to store your projects (repositories) in a public or private setting, share them with others, and collaborate on projects together, much like sharing books with fellow library members.
What is Docker? Docker helps you create small, isolated rooms called containers in your computer, where you can run different applications or projects without them messing with the main system of your computer. It’s like having multiple isolated labs to experiment in without the risk of one experiment affecting another.
A Practical Scenario: The “Mage Docker” Project
Let’s imagine you’re developing a software project named “Mage Docker.” Your goal is to work on different aspects of the project without causing issues in the main version that everyone sees.
Step-by-Step Process
- Entering the Project Room
When you start working, you navigate to the project’s directory in the Docker environment. Think of this as walking into a specific room in a building where all the project files are stored.
cd mage_docker2. Understanding the Current Situation
You run git status to see what's going on in this room. It's like looking around to see if anything has been moved or changed since you last checked. Git tells you which branch of the project you're on (a branch is like a version of your…