<?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: Tracy K</title>
    <description>The latest articles on DEV Community by Tracy K (@tkay).</description>
    <link>https://dev.to/tkay</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%2F4071730%2F414c94c8-54a5-44f6-ba1c-afa9d6ebc6d1.png</url>
      <title>DEV Community: Tracy K</title>
      <link>https://dev.to/tkay</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/tkay"/>
    <language>en</language>
    <item>
      <title>#Git Workflow</title>
      <dc:creator>Tracy K</dc:creator>
      <pubDate>Sun, 23 Aug 2026 07:30:21 +0000</pubDate>
      <link>https://dev.to/tkay/git-workflow-543p</link>
      <guid>https://dev.to/tkay/git-workflow-543p</guid>
      <description>&lt;h2&gt;
  
  
  File Creation and Working directory
&lt;/h2&gt;

&lt;p&gt;*From your local device, locate and open git to access git bash&lt;br&gt;
*From the git bash command execution area, enter the command cd to take you to the home path.&lt;br&gt;
*Then enter command &lt;code&gt;cd Desktop&lt;/code&gt; to navigate to the desktop folder.&lt;/p&gt;

&lt;p&gt;*&lt;em&gt;Use the commands below to create a new folder *&lt;/em&gt;&lt;br&gt;
*&lt;code&gt;mkdir my-first-project&lt;/code&gt;. This opens a new folder. There are two options in naming:&lt;br&gt;
       *use hyphens to separate the name not spaces&lt;br&gt;
       *write the folder name under quotation marks e.g 'my first           project'. This prevents generation of three individual folders instead of one. &lt;/p&gt;

&lt;p&gt;*&lt;code&gt;cd my-first-project&lt;/code&gt;. It takes you inside your created folder hence, this will be your working directory.&lt;br&gt;
*&lt;code&gt;touch filename.extension&lt;/code&gt;. This creates a new file that is specific to the type of extension you want. For example, data.xlsx for excel, script.py for python and notes.txt for text file.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;One file creation, you data edit and add content in your respective created file above.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  GitHub repository creation
&lt;/h2&gt;

&lt;p&gt;*Open your browser and log into github.&lt;br&gt;
*From the home page, on the top right locate (+) icon and select new repository to create a new repository.&lt;br&gt;
*Give your repo an appropriate name, add a description which should be clear and precise but not mandatory. &lt;br&gt;
*You can make the repo either public or private depending on your preference. Public repo is visible to everyone while private repo is only visible in your account.&lt;/p&gt;

&lt;h2&gt;
  
  
  Staging and commit
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;To stage your files, use commands below&lt;/strong&gt;&lt;br&gt;
*from the working directory in git, use the following commands:&lt;br&gt;
*&lt;code&gt;git init&lt;/code&gt; to initialize your git&lt;br&gt;
*&lt;code&gt;git add .&lt;/code&gt; to move your files e.g script.py from working directory to the staging area. The staging area is where your files stay before they get committed.&lt;br&gt;
*&lt;code&gt;git commit -m 'initial commit'&lt;/code&gt; to move your files from the staging area to the local repository. Local repository is a hidden repo that is managed by git.&lt;/p&gt;

&lt;p&gt;*Go back to github , locate your created repo, open the repo and find the green button written 'code', click on the drop down symbol and copy the link that is under https.&lt;/p&gt;

&lt;p&gt;*&lt;code&gt;git remote add origin github_https_link'&lt;/code&gt;. This connects a remote repository hosted on GitHub to your local Git repository on your PC.&lt;br&gt;
*&lt;code&gt;git push origin main&lt;/code&gt; to push your files from your local computer to your github repository&lt;/p&gt;

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