- Home
- Course Detail
regularpython@gmail.com
You are now watching:
Git Tools Setup and Explanation / of Git and GitHub (Realtime Example Flow)
🧠 Git & GitHub Explanation
🔹 What is Git?
Git is a distributed version control system that tracks changes in source code during software development. It allows multiple developers to work together, manage code versions, and revert to previous states.
🔹 What is GitHub?
GitHub is a web-based platform that hosts Git repositories. It provides collaboration features like pull requests, issue tracking, and project boards to manage and maintain code with teams in the cloud.
🔹 Git Terminologies
📁 Repository (Repo): A folder that contains your project code and its version history.
📥 Clone: Copying a repository from GitHub to your local system.
🌿 Branch: A version of the repository where you can make your changes safely.
💾 Commit: Saving changes with a message that describes what was changed.
🚀 Push: Uploading your local commits to GitHub.
📤 Pull: Downloading the latest changes from GitHub to your local system.
🔀 Merge: Combining one branch into another (e.g., feature → develop).
📬 Pull Request (PR): Request to merge your code changes into the main branch after review.
🔹 Git Flow Steps
1️⃣ 🚦 Start
2️⃣ 📥 Clone the project from GitHub to local Git
3️⃣ 🌿 Create a new branch (e.g., feature/login)
4️⃣ 🧑💻 Write development code
5️⃣ 💾 Commit your changes
6️⃣ 🚀 Push the updated code to GitHub
7️⃣ 📬 Raise a Pull Request (PR)
8️⃣ ✅ Get approval from reviewer/lead
9️⃣ 🔀 Merge your branch into the develop branch
🔟 🔁 Pull the updated develop branch to your local system
✅ 🛑 Stop