Menu

Understanding GitHub Fork, Clone, and Commit: A Hands-on DevOps Guide
📰

Understanding GitHub Fork, Clone, and Commit: A Hands-on DevOps Guide

DEV Community: github·Md Mostafa Riad·about 22 hours ago
#5Sht1gia
#devtogithub#technology#devto#dev#repository
Reading 0:00
15s threshold

Introduction

Today, as part of my hands-on DevOps learning journey,

I practiced Git and GitHub to understand version control

and repository management.

What is GitHub?

GitHub is a platform for hosting Git repositories,

managing source code, and collaborating with developers.

Step 1: Fork a Repository

I forked a Cloud and DevOps learning repository into

my personal GitHub account.

Forking allows me to make changes without affecting

the original repository.

Step 2: Create a README

I created a README.md file to document my learning

roadmap and committed it to the main branch.

Step 3: Clone the Repository

I downloaded my repository to my Mac using:

git clone https://github.com/mustafaridny-byte/Cloud-DevOps-Mastery.git

Enter fullscreen mode

Exit fullscreen mode

Step 4: Verify the Repository

cd Cloud-DevOps-Mastery git status git remote -v

Enter fullscreen mode

Exit fullscreen mode

What I Learned

Repository forking

Git cloning

Markdown documentation

Git commits

Local and remote…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.