<?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: Jane M.</title>
    <description>The latest articles on DEV Community by Jane M. (@mbirua-j).</description>
    <link>https://dev.to/mbirua-j</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%2F4071762%2Fb1fb5b95-90b7-4183-84b5-69be606351bf.png</url>
      <title>DEV Community: Jane M.</title>
      <link>https://dev.to/mbirua-j</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/mbirua-j"/>
    <language>en</language>
    <item>
      <title>Understanding The Git Workflow</title>
      <dc:creator>Jane M.</dc:creator>
      <pubDate>Sun, 23 Aug 2026 01:01:01 +0000</pubDate>
      <link>https://dev.to/mbirua-j/-understanding-the-git-workflow-24p8</link>
      <guid>https://dev.to/mbirua-j/-understanding-the-git-workflow-24p8</guid>
      <description>&lt;h2&gt;
  
  
  My Understanding Of Git
&lt;/h2&gt;

&lt;p&gt;Git is a place where one is able to create projects using commands and they can be tried, tested and if something is not right the correction is also done here. Projects worked on via Git are stored in a local repository where GitHub acts as a backup platform for the same therefore , one has to synchronize the project to GitHub. Git allows one to track any changes and/or corrections that need to be done while GitHub allows one to present their projects to the public and use it as backup and any projects can be retrieved easily.&lt;/p&gt;

&lt;h2&gt;
  
  
  Commands
&lt;/h2&gt;

&lt;p&gt;Commands are sort of instructions that are given in the present Git platform and they source the information based on given command then relay it.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&lt;em&gt;Example:&lt;/em&gt;&lt;/strong&gt; &lt;/p&gt;

&lt;p&gt;We have a folder in local storage &lt;strong&gt;Kenyan Banks Mortgage Analysis&lt;/strong&gt;. Within it we have various subfolders for example data and a README file.&lt;/p&gt;

&lt;p&gt;To create the data subfolder we use the command &lt;code&gt;mkdir data&lt;/code&gt;&lt;br&gt;
To create the README file use &lt;code&gt;touch README.md&lt;/code&gt;&lt;br&gt;
&lt;code&gt;ls&lt;/code&gt; to list.&lt;br&gt;
Git operates in the present so each command represents a step. You cannot assume it knows your intent, you'll constantly trace and retrace your steps to achieve your project goals.&lt;br&gt;
Assuming you have a project &lt;strong&gt;Kenyan Banks Mortgage Analysis&lt;/strong&gt; to work on on your local storage , open it with Git. Proceed to open the subfolder data using &lt;code&gt;cd data&lt;/code&gt;&lt;br&gt;
To go back to &lt;strong&gt;Kenyan Banks Mortgage Analysis&lt;/strong&gt; use &lt;code&gt;cd ..&lt;/code&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  Initialize
&lt;/h3&gt;

&lt;p&gt;&lt;code&gt;git init&lt;/code&gt; initializes a local Git repository in the folder "&lt;strong&gt;Kenyan Banks Mortgage Analysis"&lt;/strong&gt;.&lt;br&gt;
&lt;code&gt;ls -la&lt;/code&gt; lists all files.&lt;/p&gt;

&lt;h3&gt;
  
  
  Staging
&lt;/h3&gt;

&lt;p&gt;&lt;code&gt;git status&lt;/code&gt; confirms if there are changes to be staged.&lt;br&gt;
&lt;code&gt;git add .&lt;/code&gt; the changes are staged if any.&lt;br&gt;
&lt;code&gt;git status&lt;/code&gt; confirms readiness to commit.&lt;/p&gt;

&lt;h3&gt;
  
  
  Commit
&lt;/h3&gt;

&lt;p&gt;&lt;code&gt;git commit -m "Add Kenyan Banks Mortgage Analysis"&lt;/code&gt;&lt;br&gt;
&lt;code&gt;git log --oneline&lt;/code&gt; shows all commit history.&lt;/p&gt;

&lt;h3&gt;
  
  
  Push
&lt;/h3&gt;

&lt;p&gt;&lt;code&gt;git branch&lt;/code&gt; confirms the current branch name. Change to main branch if necessary using &lt;code&gt;git branch -M main&lt;/code&gt;&lt;br&gt;
After creating a new repository on GitHub, copy the SSH Key and paste it after &lt;code&gt;git remote add origin&lt;/code&gt; which links the local and GitHub repositories.&lt;br&gt;
&lt;code&gt;git remote -v&lt;/code&gt; ensures the linking to GitHub was successful.&lt;br&gt;
&lt;code&gt;git push -u origin main&lt;/code&gt; uploads the local file to GitHub.&lt;br&gt;
Confirm this has reflected in GitHub as it acts as your backup.&lt;/p&gt;

&lt;h2&gt;
  
  
  Challenges
&lt;/h2&gt;

&lt;p&gt;While Git is very interesting to learn and use, the commands feel all jumbled up at first. It significantly gets easier after understanding what each does like a formulae rather than knowing them in an essay format.&lt;/p&gt;

</description>
      <category>datascience</category>
      <category>data</category>
      <category>git</category>
      <category>github</category>
    </item>
  </channel>
</rss>
