<?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: Erick Mweri</title>
    <description>The latest articles on DEV Community by Erick Mweri (@erick_mweri_ea4da4e04d075).</description>
    <link>https://dev.to/erick_mweri_ea4da4e04d075</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%2F4070910%2Fc38ece52-b820-4b3d-80cb-233f362c4ee2.png</url>
      <title>DEV Community: Erick Mweri</title>
      <link>https://dev.to/erick_mweri_ea4da4e04d075</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/erick_mweri_ea4da4e04d075"/>
    <language>en</language>
    <item>
      <title>Understanding the Git Workflow: Working Directory, Staging, Commit and Push</title>
      <dc:creator>Erick Mweri</dc:creator>
      <pubDate>Sat, 22 Aug 2026 16:11:52 +0000</pubDate>
      <link>https://dev.to/erick_mweri_ea4da4e04d075/understanding-the-git-workflow-working-directory-staging-commit-and-push-4cmg</link>
      <guid>https://dev.to/erick_mweri_ea4da4e04d075/understanding-the-git-workflow-working-directory-staging-commit-and-push-4cmg</guid>
      <description>&lt;p&gt;Git is one of the tools used by most developers to manage and track changes in their project.&lt;br&gt;
The Git workflow consists of several stages.&lt;/p&gt;

&lt;h1&gt;
  
  
  1. The working directory
&lt;/h1&gt;

&lt;p&gt;The working directory was the folder on my computer where we created, Edited and deleted files and this happens when we use a directory called Git status&lt;/p&gt;

&lt;h2&gt;
  
  
  2. Staging
&lt;/h2&gt;

&lt;p&gt;In the staging area is where we place the changes we want to commit.&lt;br&gt;
Here we used term git add. which helped us to add a file.&lt;br&gt;
After staging we back  to check our status through Git status&lt;/p&gt;

&lt;h3&gt;
  
  
  3. commit
&lt;/h3&gt;

&lt;p&gt;A commit saves the staged changes to my local Git repository.&lt;br&gt;
We used the term:&lt;br&gt;
git commit -m to update our homepage&lt;/p&gt;

&lt;h4&gt;
  
  
  4. push
&lt;/h4&gt;

&lt;p&gt;A push sends your local commits to a remote Git-basics like one hosted on Git hub&lt;br&gt;
Here we use git push &lt;br&gt;
once the push is complete, your latest commits are available in remote repositories.&lt;/p&gt;

&lt;h1&gt;
  
  
  Here is a simple breakdown of the git workflow
&lt;/h1&gt;

&lt;p&gt;Working Directory&lt;br&gt;
       |&lt;br&gt;
       | git add&lt;br&gt;
       v&lt;br&gt;
Staging Area&lt;br&gt;
       |&lt;br&gt;
       | git commit&lt;br&gt;
       v&lt;br&gt;
Local Repository&lt;br&gt;
       |&lt;br&gt;
       | git push&lt;br&gt;
       v&lt;br&gt;
Remote Repository&lt;/p&gt;

&lt;h1&gt;
  
  
  Conclusion
&lt;/h1&gt;

&lt;p&gt;Once you understand these four stages , you will have a strong foundation for using git in  your everyday development work.&lt;/p&gt;

</description>
      <category>coding</category>
      <category>git</category>
      <category>software</category>
      <category>tutorial</category>
    </item>
  </channel>
</rss>
