<?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: Christa Bridges</title>
    <description>The latest articles on DEV Community by Christa Bridges (@cbridges851).</description>
    <link>https://dev.to/cbridges851</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.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F481236%2F822bbb1a-6183-4e27-9cc2-5603a323ae38.jpg</url>
      <title>DEV Community: Christa Bridges</title>
      <link>https://dev.to/cbridges851</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/cbridges851"/>
    <language>en</language>
    <item>
      <title>Shaking Up The Christmas Greetings With A-Frame...</title>
      <dc:creator>Christa Bridges</dc:creator>
      <pubDate>Sat, 25 Dec 2021 13:52:51 +0000</pubDate>
      <link>https://dev.to/cbridges851/shaking-up-the-christmas-greetings-with-a-frame-36kp</link>
      <guid>https://dev.to/cbridges851/shaking-up-the-christmas-greetings-with-a-frame-36kp</guid>
      <description>&lt;p&gt;Let me try to sell an idea here. The price? Absolutely free. Well, besides perhaps some learning, which can be free, and comes with the guarantee of lots of fun... I promise!&lt;/p&gt;

&lt;p&gt;So, this idea...&lt;/p&gt;

&lt;p&gt;You know how every year, people are writing Christmas cards, you may be receiving some as well...&lt;/p&gt;

&lt;p&gt;Wouldn't it be cool to gift someone some novelty as well as the Christmas greeting?&lt;/p&gt;

&lt;p&gt;What I'm suggesting here can be described in 3 words:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;"Christmas VR Scene"&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;So, why am I suggesting this idea?&lt;/p&gt;

&lt;p&gt;Well, last year, I made a VR scene as part of a Christmas arts and crafts competition, and it's not like there was a rule against making anything digital, so 🤷‍♀️&lt;/p&gt;

&lt;p&gt;It was a lot of fun, especially when I won and bought myself a clipboard from Etsy (the last one got a bit worn from the ctrl+C and ctrl+Ving) 😎&lt;/p&gt;

&lt;p&gt;Not only was making the VR scene fun, but I got to practice my A-Frame skills!&lt;/p&gt;

&lt;p&gt;If you've not heard of A-Frame before, it's essentially an open source framework that you can use to make VR scenes in the browser, meaning you can still enjoy these VR scenes even if you don't have a VR headset! &lt;/p&gt;

&lt;p&gt;All you have to do is import it just like you would any other library or framework (such as via CDN or npm), and then you can use the elements that A-Frame has inside a HTML file to make your own VR scene!&lt;/p&gt;

&lt;p&gt;Using my skills makes me happy, and I'm even happier when what I make makes other people happy!&lt;/p&gt;

&lt;p&gt;On that note, I'd love to show you the &lt;a href="https://cbridges851.github.io/christmas-2021/?name=DEV%20Community!"&gt;Christmas VR scene I've made for this year&lt;/a&gt;!&lt;/p&gt;

&lt;p&gt;I recently completed the &lt;a href="https://www.codecademy.com/learn/learn-a-frame"&gt;A-Frame course on Codecademy&lt;/a&gt;, and one of the projects on this course was a solar system...&lt;/p&gt;

&lt;p&gt;So I decided to Christmasify it a bit 😉!&lt;/p&gt;

&lt;p&gt;Anyhoo, I hope you enjoy! If you would like to have more of a gander at the code, feel free to check out its &lt;a href="https://github.com/cBridges851/christmas-2021"&gt;repository&lt;/a&gt;! You are most welcome to use this or &lt;a href="https://cbridges851.github.io/Christmas-2020-Parameters/?name=GitHub"&gt;last year's VR scene&lt;/a&gt; yourself if you wish! &lt;/p&gt;

&lt;p&gt;If you do, do let me know, make a developer's day 😄!&lt;/p&gt;

&lt;p&gt;I also hope to make a new VR scene every year, so keep watching this space! I'll try to get better and better each year!&lt;/p&gt;

&lt;p&gt;Finally, if you've made it alllll the way down to the bottom of this post, then I thank you ❤️! &lt;/p&gt;

&lt;p&gt;I wish you all a very Merry Christmas and a prosperous New Year 😁!&lt;/p&gt;

</description>
      <category>html</category>
      <category>javascript</category>
      <category>aframe</category>
      <category>virtualreality</category>
    </item>
    <item>
      <title>Christa’s Beginners’ Guide to Using Git for Your Projects</title>
      <dc:creator>Christa Bridges</dc:creator>
      <pubDate>Mon, 05 Apr 2021 14:27:09 +0000</pubDate>
      <link>https://dev.to/cbridges851/christa-s-beginners-guide-to-using-git-for-your-projects-g89</link>
      <guid>https://dev.to/cbridges851/christa-s-beginners-guide-to-using-git-for-your-projects-g89</guid>
      <description>&lt;h1&gt;
  
  
  Introduction
&lt;/h1&gt;

&lt;p&gt;If you’re pretty new to programming, you may be used to saving all your code on your local device and that’s it if you’re doing a project on your own. Have you ever faced any problems with this though? Have you coded something which you changed your mind about and had to do a fair bit of undoing? Or have you worked on a project with someone else and you had to exchange files via emails or USB sticks? What challenges did you have with that, were you able to work on the same file at the same time on your own computers, and how did you handle combining your work together?&lt;/p&gt;

&lt;p&gt;You may have heard of Git, and this was one of the first things I learnt about on my degree apprenticeship. I use it nearly every day to help me to collaborate with others easily on projects and keep track of the changes we have made! I strongly recommend looking into Git if you're hoping to get into the software engineering industry, because it's likely you'll be using this a lot! Even though there are quite a few guides out there about Git, I fancied writing one of my own to explain it in my own way!&lt;/p&gt;

&lt;h1&gt;
  
  
  Have These Things Ready!
&lt;/h1&gt;

&lt;ul&gt;
&lt;li&gt;A computer.&lt;/li&gt;
&lt;li&gt;Git installed (&lt;a href="https://git-scm.com/download/win"&gt;https://git-scm.com/download/win&lt;/a&gt;).&lt;/li&gt;
&lt;li&gt;A GitHub account.&lt;/li&gt;
&lt;/ul&gt;

&lt;h1&gt;
  
  
  Key Terms
&lt;/h1&gt;

&lt;ul&gt;
&lt;li&gt;Repository – where your work will be kept. This could contain files and folders.&lt;/li&gt;
&lt;li&gt;Local repository – where your work is kept on your local computer.&lt;/li&gt;
&lt;li&gt;Remote repository – where your work is kept online, using sites such as GitHub.&lt;/li&gt;
&lt;li&gt;Private repository – a repository which only you and anyone you add as a contributor can see and use.&lt;/li&gt;
&lt;li&gt;Public repository – a repository which anyone can see, put a star on, add an issue, create a pull request, or fork.&lt;/li&gt;
&lt;li&gt;Fork – taking a copy of someone else’s repository and having a version on your own account. Forking isn’t deeply covered in this article because this is more so focusing on using Git for your own projects.&lt;/li&gt;
&lt;li&gt;Cloning – getting a copy of a remote repository onto your local computer.&lt;/li&gt;
&lt;/ul&gt;

&lt;h1&gt;
  
  
  Walkthrough
&lt;/h1&gt;

&lt;p&gt;I could simply tell you the commands and expect you to just use them, but I would much prefer to show you an example!  &lt;/p&gt;

&lt;p&gt;Here's a visual summary of the process of using Git in a project before we get started!&lt;br&gt;
&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--eGtJX1uN--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/21aqr684fw6vs1l2w10m.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--eGtJX1uN--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/21aqr684fw6vs1l2w10m.png" alt="image"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  1. Setting up the Remote Repository
&lt;/h2&gt;

&lt;p&gt;Your code will be kept in two places – a repository on your local computer and a repository online. In terms of where your online repository will be located, the one I will be demonstrating will be on GitHub, but there are alternatives such as Azure DevOps and Bitbucket, and most of what I will demonstrate can be applied to them too! You will need to set these repositories up!&lt;/p&gt;

&lt;p&gt;If this is a new project, you will need to create a new repository. If this is a project you already have on your profile, then you can skip this step.&lt;/p&gt;

&lt;p&gt;There are a few ways you can create a remote repository via GitHub’s interface, but in this example, I went to my profile, went to the repositories tab, and clicked on the “new” button.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--9eVS2TLa--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/9fysae0fh6nl2hsyjisj.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--9eVS2TLa--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/9fysae0fh6nl2hsyjisj.png" alt="image"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;I then filled in the form that came up with the necessary details and created a public repository.&lt;/p&gt;

&lt;h2&gt;
  
  
  2. Connecting the Remote and Local Repository
&lt;/h2&gt;

&lt;p&gt;In the repository, you should see a bright green button that says “Code”.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--8eQOTDTp--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/1u6qlh8cwcrevqd62sac.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--8eQOTDTp--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/1u6qlh8cwcrevqd62sac.png" alt="image"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;When you press it, you should see this menu:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--g6DuS2jr--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/j7uqvhlg1fckzvpw9dqz.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--g6DuS2jr--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/j7uqvhlg1fckzvpw9dqz.png" alt="image"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;There are clearly a few ways you can clone the repository onto your computer, but to get you started I’ll show you HTTPS, so you can copy the contents of the box (the URL). I’ll leave some other sources of information at the bottom of the article if you wish to investigate SSH, GitHub CLI, GitHub Desktop, or Visual Studio. &lt;/p&gt;

&lt;h3&gt;
  
  
  Method 1: git clone
&lt;/h3&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--4i_c2cdI--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/enpjv706p2qqr6w4m842.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--4i_c2cdI--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/enpjv706p2qqr6w4m842.png" alt="image"&gt;&lt;/a&gt; &lt;br&gt;
Open the Git Bash terminal and use cd to get to your desired location (e.g., &lt;code&gt;cd Documents&lt;/code&gt;, &lt;code&gt;cd “New Folder”&lt;/code&gt;) or go to the location via the file explorer, right click and select “Git Bash here”. Then type &lt;code&gt;git clone &amp;lt;repository's URL&amp;gt;&lt;/code&gt; and press enter.&lt;br&gt;
&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--LguqtdlL--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/7snd3o6py32g93anysst.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--LguqtdlL--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/7snd3o6py32g93anysst.png" alt="image"&gt;&lt;/a&gt;&lt;br&gt;
&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--Ribs0Jrg--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/fgtdbwdp6iidre4pkjy2.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--Ribs0Jrg--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/fgtdbwdp6iidre4pkjy2.png" alt="image"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  Method 2: Initialising and Adding the Remote
&lt;/h3&gt;

&lt;p&gt;Alternatively…&lt;/p&gt;

&lt;p&gt;Type &lt;code&gt;git init&lt;/code&gt; and press enter (this is essentially saying that you want to set up Git there, and it's where you'll keep the local version of the project). You should see a “master” or “main” next to your file path.&lt;br&gt;
&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--9F0CT5AX--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/9b2emu02cepa7c8tsx4q.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--9F0CT5AX--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/9b2emu02cepa7c8tsx4q.png" alt="image"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;You now need to connect your local repository to the remote one. Type &lt;code&gt;git remote add origin&lt;/code&gt; and then paste the URL you copied from GitHub and press enter. &lt;br&gt;
&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--fvWvv4FX--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/zth5l8tzv8chgsmj9fi2.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--fvWvv4FX--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/zth5l8tzv8chgsmj9fi2.png" alt="image"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;When you do &lt;code&gt;git remote -v&lt;/code&gt;, you should see the remote repository. If you wanted to remove the remote repository connection from your local, you can do &lt;code&gt;git remote remove origin&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;If there are already files on the remote repository, you will need to do &lt;code&gt;git pull origin &amp;lt;branch-name&amp;gt;&lt;/code&gt; to get them.&lt;/p&gt;

&lt;h2&gt;
  
  
  3. Getting Into The Folder
&lt;/h2&gt;

&lt;p&gt;Now you've got the local and remote repositories connected together, navigate to the folder which is connected to the remote repository, and you could do this via the file explorer and right-clicking on the folder or inside it, as shown below.&lt;br&gt;
&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--yIP_PDaq--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/xed65umnib734bwuwacz.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--yIP_PDaq--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/xed65umnib734bwuwacz.png" alt="image"&gt;&lt;/a&gt;&lt;br&gt;
Alternatively, you can navigate to the folder via your terminal (e.g. Git Bash) using &lt;code&gt;cd &amp;lt;directory name&amp;gt;&lt;/code&gt;, and then you can see the contents of the directory by typing in &lt;code&gt;ls&lt;/code&gt;, as shown below.&lt;br&gt;
&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--YbKS9do0--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/ky7vrnih8ytbc1l2eay2.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--YbKS9do0--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/ky7vrnih8ytbc1l2eay2.png" alt="image"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  4. Creating Branches
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--KkPxTo8d--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/g8u9ncx7hjkrj3qpy81k.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--KkPxTo8d--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/g8u9ncx7hjkrj3qpy81k.png" alt="image"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Next to the file path, you should be able to see "(master)" or "(main)". This is a branch, an independent version of the project. Specifically, the master or main branch is the one that would be delivered to the end-users.&lt;/p&gt;

&lt;p&gt;Now, if you were making a feature, you wouldn't want to put the changes you were making straight here, would you? If the product was live, they would get unfinished features while you're working on it, you only want to deliver the new feature when it is complete! That is why we create other branches, which are independent from each other.&lt;/p&gt;

&lt;p&gt;In the case of our walkthrough, I want to make a HTML page. I don't want it to go straight onto the master branch, so I'll be creating a new branch so I can work on it without impacting the master and it'll allow me to get feedback before I merge it later on.&lt;/p&gt;

&lt;p&gt;To create a new branch, you can use the commands:&lt;/p&gt;

&lt;p&gt;&lt;code&gt;git branch &amp;lt;branch-name&amp;gt;&lt;/code&gt; to create it&lt;/p&gt;

&lt;p&gt;then&lt;/p&gt;

&lt;p&gt;&lt;code&gt;git checkout &amp;lt;branch-name&amp;gt;&lt;/code&gt; to go onto it&lt;/p&gt;

&lt;p&gt;In this case, I’ll be creating a branch called first-html-page.&lt;br&gt;
&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--Qr5ZxoTV--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/z1c9vchd9pg0lr8kiq6z.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--Qr5ZxoTV--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/z1c9vchd9pg0lr8kiq6z.png" alt="image"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;NOTE: want to create a branch and go onto it in one command? You can by typing &lt;code&gt;git checkout -b &amp;lt;branch-name&amp;gt;&lt;/code&gt;! &lt;/p&gt;

&lt;h2&gt;
  
  
  5. Create and Change Files
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--qE50JD7W--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/zmx7rvv17i7hkqvxfotb.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--qE50JD7W--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/zmx7rvv17i7hkqvxfotb.png" alt="image"&gt;&lt;/a&gt;&lt;br&gt;
We can now get down to business with the changes we want to make that will eventually go to master/main! All I’m going to do here is just create a .html file, but you can make whatever type of file you want. You can make files by going into any application that allows you to create files and save them into the local repository. You can also use the “touch” command to create files, and then edit them after. &lt;br&gt;
&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--tRHX86Ry--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/s58ve2yk215xzo4jr3nz.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--tRHX86Ry--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/s58ve2yk215xzo4jr3nz.png" alt="image"&gt;&lt;/a&gt;&lt;/p&gt;

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

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--kiQqn7ro--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/5n15hfielixjhpai1u4y.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--kiQqn7ro--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/5n15hfielixjhpai1u4y.png" alt="image"&gt;&lt;/a&gt;&lt;br&gt;
In this, you’re effectively saying “I want to record the fact that I changed this/these file(s)”. Imagine you’re putting the files into a box. If you want to stage everything in the local repository, you can do &lt;code&gt;git add *&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;To say, “I want to record the fact that I created index.html”, I’m going to type &lt;code&gt;git add index.html&lt;/code&gt; into the terminal. &lt;br&gt;
&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--MLsNJLRx--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/myt5m7qllakumuwtv9gz.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--MLsNJLRx--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/myt5m7qllakumuwtv9gz.png" alt="image"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;To check what you have staged, you can type &lt;code&gt;git status&lt;/code&gt; into the terminal.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--UtieG_Ix--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/c6570a3506hawjuy96b5.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--UtieG_Ix--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/c6570a3506hawjuy96b5.png" alt="image"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  7. Committing Changes
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--9SnT-X3Q--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/sacua24086z8fote76lw.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--9SnT-X3Q--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/sacua24086z8fote76lw.png" alt="image"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;I think of this as like putting a label on the box because you’re essentially saying what changes you have made. Remember the fact that you and other people could be reading these later, so make sure you are clear in how you communicate the changes you made. I like starting the message with the branch name that I’m on and giving a summary of the changes I’ve made. If necessary, I may also put why I made those changes. To effectively put a label on the changes we’ve made, I’m going to use the &lt;code&gt;git commit&lt;/code&gt; command as shown: &lt;br&gt;
&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--YULHEdo2--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/bufq88mqem05ziqy8szu.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--YULHEdo2--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/bufq88mqem05ziqy8szu.png" alt="image"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Before I move onto the next step, I could make some more changes and carry out stages 5, 6 and 7 again for each change. You don’t have to make commits for every character you change though! I tend to make commits for each chunk of work I’ve done if I can and before I finish coding before doing something else.&lt;/p&gt;

&lt;p&gt;Experiment: so you've made some changes on this branch, go back onto the master or main branch by typing in &lt;code&gt;git checkout master&lt;/code&gt; or &lt;code&gt;git checkout main&lt;/code&gt; depending on what it's called for you, then create a new branch. Do you see this work you did on the other branch there? If you've done this correctly, you'll find these changes are not there because they are not in master/main, so the new branch you've created aren't able to inherit them.&lt;/p&gt;

&lt;h2&gt;
  
  
  8. Pushing
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--wFckJjxB--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/i8ifzhj9ittmri4dgosn.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--wFckJjxB--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/i8ifzhj9ittmri4dgosn.png" alt="image"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;This is where a copy of the work you have staged and committed is saved onto the remote repository – the changes you make on your computer are not automatically sent to the remote repository, hence why you must send it!&lt;/p&gt;

&lt;p&gt;When your work has been saved onto a branch on the remote repository, you can then create a pull request so you (and contributors, if you have any) can review the code and approve the changes being merged into another branch!&lt;/p&gt;

&lt;p&gt;When you’re ready for your changes to go onto GitHub, just do the &lt;code&gt;git push origin &amp;lt;branch-name&amp;gt;&lt;/code&gt; command!&lt;br&gt;
&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--APBfLdWP--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/vl4dhdd29hokh1wcyltm.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--APBfLdWP--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/vl4dhdd29hokh1wcyltm.png" alt="image"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  9. Creating a Pull Request
&lt;/h2&gt;

&lt;p&gt;Go to the repository on GitHub. You should see a button that says, “Compare and pull request”. Click on it!&lt;br&gt;
&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--56Abcdui--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/1a95ux0a4xmcdkoqepl4.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--56Abcdui--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/1a95ux0a4xmcdkoqepl4.png" alt="image"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Input a description into the pull request to let others know of the changes you have made. This description could include why changes have been made as well as what, the technologies that have been used, and screenshots of any changes to UI if applicable. Hit "Create Pull Request" when you are done!&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--TzXXoknT--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/f2tyzx1o75lyqf3y9yp0.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--TzXXoknT--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/f2tyzx1o75lyqf3y9yp0.png" alt="image"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;When the pull request has been created, you can require reviewers, add assignees, labels, projects, milestones, and linked issues. When everyone who is part of the project is happy and approved (bear in mind you may have to respond to feedback), you can then merge the pull request into the specified branch, which in our case is master!&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--ARzr-E1c--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/6rffo57fatfj5re2kkdl.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--ARzr-E1c--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/6rffo57fatfj5re2kkdl.png" alt="image"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  10. Voilà!
&lt;/h2&gt;

&lt;p&gt;When you press “Merge pull request”, a confirm merge button should be displayed, and it should say the pull request has been successfully merged and closed. &lt;br&gt;
&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--UeuTk1VZ--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/81bwpb7ur6boulcpfoye.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--UeuTk1VZ--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/81bwpb7ur6boulcpfoye.png" alt="image"&gt;&lt;/a&gt;&lt;br&gt;
When you look at the code tab and select the master branch, you should see the changes you made there! In our case, index.html is now present in master!&lt;br&gt;
&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--eqLyYsJC--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/e7wcwvx1e0xrc4drpdzb.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--eqLyYsJC--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/e7wcwvx1e0xrc4drpdzb.png" alt="image"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Useful Resources&lt;br&gt;
SSH Keys:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://docs.github.com/en/github/authenticating-to-github/generating-a-new-ssh-key-and-adding-it-to-the-ssh-agent"&gt;https://docs.github.com/en/github/authenticating-to-github/generating-a-new-ssh-key-and-adding-it-to-the-ssh-agent&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://docs.microsoft.com/en-us/azure/devops/repos/git/use-ssh-keys-to-authenticate?view=azure-devops"&gt;https://docs.microsoft.com/en-us/azure/devops/repos/git/use-ssh-keys-to-authenticate?view=azure-devops&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Manual for GitHub CLI:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://cli.github.com/manual/"&gt;https://cli.github.com/manual/&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://www.digitalocean.com/community/tutorials/workflow-github-cli"&gt;https://www.digitalocean.com/community/tutorials/workflow-github-cli&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;GitHub Desktop:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://docs.github.com/en/desktop"&gt;https://docs.github.com/en/desktop&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;GitHub and Visual Studio:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://visualstudio.github.com/"&gt;https://visualstudio.github.com/&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Open Source Contributing:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://www.digitalocean.com/community/tech_talks/tips-for-contributing-to-open-source-with-github"&gt;https://www.digitalocean.com/community/tech_talks/tips-for-contributing-to-open-source-with-github&lt;/a&gt;&lt;/p&gt;

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

&lt;p&gt;I hope you enjoyed reading and using this article to allow you to use Git for your projects, how it works, and why it can be beneficial to use! If you have any questions, feel free to leave a comment and/or connect on LinkedIn (&lt;a href="https://www.linkedin.com/in/christa-bridges/"&gt;https://www.linkedin.com/in/christa-bridges/&lt;/a&gt;) or on the DEV Community. Feel free to check out the my projects on GitHub also (&lt;a href="https://github.com/cBridges851"&gt;https://github.com/cBridges851&lt;/a&gt;), and I'm open to suggestions for future articles! Take care 😊&lt;/p&gt;

</description>
    </item>
  </channel>
</rss>
