<?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: Panyako Clinton</title>
    <description>The latest articles on DEV Community by Panyako Clinton (@panyako_clinton_c4217d7be).</description>
    <link>https://dev.to/panyako_clinton_c4217d7be</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%2F4071835%2F9912b082-c15c-4424-b47b-c1819bc8f03a.png</url>
      <title>DEV Community: Panyako Clinton</title>
      <link>https://dev.to/panyako_clinton_c4217d7be</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/panyako_clinton_c4217d7be"/>
    <language>en</language>
    <item>
      <title>Git Workflow</title>
      <dc:creator>Panyako Clinton</dc:creator>
      <pubDate>Sun, 23 Aug 2026 13:22:22 +0000</pubDate>
      <link>https://dev.to/panyako_clinton_c4217d7be/git-workflow-mo5</link>
      <guid>https://dev.to/panyako_clinton_c4217d7be/git-workflow-mo5</guid>
      <description>&lt;h1&gt;
  
  
  Overview
&lt;/h1&gt;

&lt;p&gt;Git is a version control system that helps developers to track changes made to files as system or project is being developed.&lt;br&gt;
GitHub is a website where all the projects build in folders and files are put for collaboration or tracking purposes.&lt;br&gt;
This overview show the steps of pushing codes, files and folders to github repository step by step. &lt;/p&gt;

&lt;h2&gt;
  
  
  Working Directory
&lt;/h2&gt;

&lt;p&gt;Working directory is the project folder with all the  files you are working on.&lt;br&gt;
File can be modified or deleted but not saved on Git, changes are saved until you commit.&lt;/p&gt;

&lt;h3&gt;
  
  
  Staging (git add)
&lt;/h3&gt;

&lt;p&gt;&lt;em&gt;git add&lt;/em&gt; Puts changes made in the staging area&lt;br&gt;
&lt;em&gt;git add .&lt;/em&gt; stage all changes new, modified, and deleted files&lt;/p&gt;

&lt;h3&gt;
  
  
  Commit (git commit)
&lt;/h3&gt;

&lt;p&gt;Saves staged changes to the local repository&lt;br&gt;
_git commit -a -m "Message" _ to stage and commit all modified and deleted files in one step.&lt;/p&gt;

&lt;h3&gt;
  
  
  Push(git push)
&lt;/h3&gt;

&lt;p&gt;&lt;em&gt;git push&lt;/em&gt; Sends the commits to the remote repository e.g github&lt;/p&gt;

&lt;h3&gt;
  
  
  Checking Status(git satus)
&lt;/h3&gt;

&lt;p&gt;&lt;em&gt;git status&lt;/em&gt; used to check which files are staged, not staged or untacked.&lt;br&gt;
It helps to keep track of what is needed to add or commit.&lt;/p&gt;

&lt;p&gt;git status &lt;br&gt;
git add analysis.py &lt;br&gt;
git status git commit -m "Add sales analysis" &lt;br&gt;
git push&lt;/p&gt;

&lt;h1&gt;
  
  
  conclusion
&lt;/h1&gt;

&lt;p&gt;The git workflow work as a sequence.&lt;br&gt;
&lt;strong&gt;Working Directory&lt;/strong&gt; is where changes are made.&lt;br&gt;
&lt;strong&gt;Staging Area&lt;/strong&gt; it help to select changes to be included.&lt;br&gt;
&lt;strong&gt;Commit&lt;/strong&gt; records the staged changes in the local git history .&lt;br&gt;
&lt;strong&gt;Push&lt;/strong&gt; sends the commits to the git hub &lt;br&gt;
Example of the workflow&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;Working Directory &lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;git add&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Staging Area &lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;git commit &lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Local Repository &lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;git push&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;GitHub&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Example&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;git init, initialize the git repository to manage the project&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;git status, show the current happening on the repository&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;git add .,stages project ready for commit&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;git commit -m "Done"&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;git log, view commit &lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;git log --oneline, shows project history&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;git branch, confirms the branch&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;git branch -M main, change branch from master to main&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;git remote add origin "ssh GitHub link", connect local repository to the GitHub repository.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;git remote -v, check, check the remote repository connected to local project&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;git push -u origin main, uploads locals commits to GitHub&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

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