<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Md Mostafa Riad</title>
    <description>The latest articles on DEV Community by Md Mostafa Riad (@mustafaridny).</description>
    <link>https://dev.to/mustafaridny</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4217493%2F45a3691d-db74-4f5f-81a0-866799869ad7.jpg</url>
      <title>DEV Community: Md Mostafa Riad</title>
      <link>https://dev.to/mustafaridny</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/mustafaridny"/>
    <language>en</language>
    <item>
      <title>Understanding GitHub Fork, Clone, and Commit: A Hands-on DevOps Guide</title>
      <dc:creator>Md Mostafa Riad</dc:creator>
      <pubDate>Fri, 20 Nov 2026 05:21:02 +0000</pubDate>
      <link>https://dev.to/mustafaridny/understanding-github-fork-clone-and-commit-a-hands-on-devops-guide-1ide</link>
      <guid>https://dev.to/mustafaridny/understanding-github-fork-clone-and-commit-a-hands-on-devops-guide-1ide</guid>
      <description>&lt;h2&gt;
  
  
  Introduction
&lt;/h2&gt;

&lt;p&gt;Today, as part of my hands-on DevOps learning journey, &lt;br&gt;
I practiced Git and GitHub to understand version control &lt;br&gt;
and repository management.&lt;/p&gt;
&lt;h2&gt;
  
  
  What is GitHub?
&lt;/h2&gt;

&lt;p&gt;GitHub is a platform for hosting Git repositories, &lt;br&gt;
managing source code, and collaborating with developers.&lt;/p&gt;
&lt;h2&gt;
  
  
  Step 1: Fork a Repository
&lt;/h2&gt;

&lt;p&gt;I forked a Cloud and DevOps learning repository into &lt;br&gt;
my personal GitHub account.&lt;/p&gt;

&lt;p&gt;Forking allows me to make changes without affecting &lt;br&gt;
the original repository.&lt;/p&gt;
&lt;h2&gt;
  
  
  Step 2: Create a README
&lt;/h2&gt;

&lt;p&gt;I created a README.md file to document my learning &lt;br&gt;
roadmap and committed it to the main branch.&lt;/p&gt;
&lt;h2&gt;
  
  
  Step 3: Clone the Repository
&lt;/h2&gt;

&lt;p&gt;I downloaded my repository to my Mac using:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;git clone https://github.com/mustafaridny-byte/Cloud-DevOps-Mastery.git
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  Step 4: Verify the Repository
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="nb"&gt;cd&lt;/span&gt; Cloud-DevOps-Mastery
git status
git remote -v
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  What I Learned
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Repository forking&lt;/li&gt;
&lt;li&gt;Git cloning&lt;/li&gt;
&lt;li&gt;Markdown documentation&lt;/li&gt;
&lt;li&gt;Git commits&lt;/li&gt;
&lt;li&gt;Local and remote repositories&lt;/li&gt;
&lt;li&gt;Terminal navigation&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Step 5: Commit and Push Changes
&lt;/h2&gt;

&lt;p&gt;I staged my article, created a local commit, and pushed&lt;br&gt;
my changes to GitHub.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;git add github-fork-and-clone.md
git commit -m &lt;span class="s2"&gt;"Add first technical article"&lt;/span&gt;
git push origin main
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;This completed my first local-to-remote Git workflow.&lt;/p&gt;

&lt;h2&gt;
  
  
  Conclusion
&lt;/h2&gt;

&lt;p&gt;This practical exercise helped me understand how Git &lt;br&gt;
and GitHub support version control in DevOps workflows.&lt;/p&gt;

&lt;h2&gt;
  
  
  References
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;&lt;a href="https://github.com/mustafaridny-byte/Cloud-DevOps-Mastery" rel="noopener noreferrer"&gt;My GitHub Repository&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://github.com/omkarsharma2821/Cloud-DevOps-Mastery" rel="noopener noreferrer"&gt;Original Learning Repository&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

</description>
      <category>git</category>
      <category>github</category>
      <category>devops</category>
      <category>beginners</category>
    </item>
  </channel>
</rss>
