GitHub Basics: Version Control & Collaboration

GitHub and Its Role in Devops GitHub is a cloud platform where we store and manage code online. Think of it like Google Drive for code — but with version control, tracking, and team collaboration. How is GitHub Used? Write code on your system → Initialize Git →Connect to a GitHub repository → Push code to GitHub → Team members pull & collaborate Git Push vs Git Pull - git push → Upload your local code to GitHub - git pull → Download latest code from GitHub - Push = Send code - Pull = Get code What are Branches? A branch is a separate copy of code where we can work safely without affecting the main project. Used for: New features, Bug fixes, Testing Create branch → Work → Push → Pull Request → Merge Main vs Master Both are primary branches. • Master → Old default branch name • Main → New default branch name No technical difference — both store final production code. #Git #GitHub #DevOps #VersionControl #SoftwareDevelopment #CloudComputing #CICD #BeginnerFriendly #TechLearning #Developers

  • graphical user interface

To view or add a comment, sign in

Explore content categories