<?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>Forem: Tori</title>
    <description>The latest articles on Forem by Tori (@torirodgers).</description>
    <link>https://forem.com/torirodgers</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%2F3516456%2Fffa739c2-1450-43d7-919d-a728cb12bdfb.jpeg</url>
      <title>Forem: Tori</title>
      <link>https://forem.com/torirodgers</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://forem.com/feed/torirodgers"/>
    <language>en</language>
    <item>
      <title>A Beginner's Guide to Forking and Syncing Personal GitHub Repositories 📝</title>
      <dc:creator>Tori</dc:creator>
      <pubDate>Mon, 22 Sep 2025 17:58:57 +0000</pubDate>
      <link>https://forem.com/torirodgers/a-beginners-guide-to-forking-and-syncing-github-repositories-4kdk</link>
      <guid>https://forem.com/torirodgers/a-beginners-guide-to-forking-and-syncing-github-repositories-4kdk</guid>
      <description>&lt;p&gt;This guide explains how to fork a repository, set the upstream, fetch changes, merge, and push changes to your personal fork using GitHub and the Visual Studio Code terminal. &lt;/p&gt;

&lt;p&gt;&lt;em&gt;These instructions assume you’re the only one working in the fork. Steps may differ if the repository is shared with collaborators.&lt;/em&gt;&lt;/p&gt;

&lt;h4&gt;
  
  
  Prerequisites
&lt;/h4&gt;

&lt;ol&gt;
&lt;li&gt;Git installed on your computer&lt;/li&gt;
&lt;li&gt;GitHub account&lt;/li&gt;
&lt;li&gt;Visual Studio Code &lt;/li&gt;
&lt;/ol&gt;

&lt;h4&gt;
  
  
  Terminologies
&lt;/h4&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Local&lt;/strong&gt;: Your copy of the repo on your computer.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Remote&lt;/strong&gt;: A version of the repo hosted online (e.g., GitHub).&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Origin&lt;/strong&gt;: The default name for &lt;em&gt;your&lt;/em&gt; fork's remote on GitHub.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Upstream&lt;/strong&gt;: The original repo you forked from.&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;




&lt;h2&gt;
  
  
  ⭐ Step 1: Fork the Repository
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;Go to the original repository on GitHub.&lt;/li&gt;
&lt;li&gt;Click &lt;strong&gt;Fork&lt;/strong&gt; (top right) and select your account.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fv5awo2cfvp0lr1rco6jk.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fv5awo2cfvp0lr1rco6jk.png" alt="A portion of a GitHub repository page showing the top-right buttons. There is a Watch button with the number 1, a Fork button with the number 132 (highlighted by a white arrow pointing at it), and a dropdown arrow next to Fork. Below these buttons is a green Code button." width="296" height="126"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;Deselect&lt;/strong&gt; the option to copy only the &lt;em&gt;main&lt;/em&gt; branch if you want to make a copy of all available branches.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F29jqcl862aadurp0wepx.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F29jqcl862aadurp0wepx.png" alt="The image is a screenshot of a " width="744" height="532"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;You'll be taken to your page for your newly created fork.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fx9bdurkaxfh5vg6bm81l.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fx9bdurkaxfh5vg6bm81l.png" alt="GitHub page for the public " width="800" height="444"&gt;&lt;/a&gt;&lt;/p&gt;




&lt;h2&gt;
  
  
  ⭐ Step 2: Clone Your Fork Locally
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;On the page for your newly created fork, navigate to &lt;strong&gt;&amp;lt;&amp;gt; Code&lt;/strong&gt; and copy the web URL. &lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Ferfd99w03c8t2off8pjc.png" alt="GitHub cloning options interface showing HTTPS URL and download options." width="416" height="340"&gt;
&lt;/li&gt;
&lt;li&gt;In your VSCode terminal, move into the folder you want the repository to be based in. You can do this one of two ways:

&lt;ul&gt;
&lt;li&gt;Clicking &lt;strong&gt;File&lt;/strong&gt; -&amp;gt; &lt;strong&gt;Open Folder&lt;/strong&gt; -&amp;gt; Select the folder&lt;/li&gt;
&lt;li&gt;Use the command &lt;code&gt;cd&lt;/code&gt; to navigate the directory of a folder that's already open. Read more about &lt;code&gt;cd&lt;/code&gt; here -&amp;gt; &lt;a href="https://gitscripts.com/cd-in-git" rel="noopener noreferrer"&gt;cd in Git&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Once you're in the right folder, use the command &lt;code&gt;git clone&lt;/code&gt; and paste the URL.&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;cd&lt;/code&gt; into the newly created repo folder.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fol43pgv4n99dulmvh2b3.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fol43pgv4n99dulmvh2b3.png" alt="Terminal showing commands to navigate directories and clone a GitHub repository." width="631" height="249"&gt;&lt;/a&gt;&lt;/p&gt;




&lt;h2&gt;
  
  
  ⭐ Step 3: Create a New Branch
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;⚠️ Before creating a new branch, make sure you're on &lt;em&gt;main&lt;/em&gt;. Always do your work in a branch other than &lt;em&gt;main&lt;/em&gt; (whether it's for features, experiments, or practice) so you keep &lt;em&gt;main&lt;/em&gt; clean and conflict-free.&lt;/strong&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;code&gt;git branch&lt;/code&gt; to check which branch you're on.

&lt;ul&gt;
&lt;li&gt;It will list all your local branches, and the one you’re currently on will be marked with an asterisk *. &lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Flo1ck24tseqrpoy8isnw.png" alt="Terminal displaying the output of 'git branch' command, showing the active branch as 'main'." width="400" height="60"&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;git checkout -b new-branch-name&lt;/code&gt; creates and moves to your new branch.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fi0w5pbqlxwfzfwj245hx.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fi0w5pbqlxwfzfwj245hx.png" alt="Terminal screenshot showing Git command to create and switch to a new branch." width="486" height="124"&gt;&lt;/a&gt;&lt;/p&gt;




&lt;h2&gt;
  
  
  ⭐ Step 4: Check and Add Upstream Remote
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;code&gt;git remote -v&lt;/code&gt; to list the current remotes associated with the local repository. (On a new fork, you'll only see &lt;em&gt;origin&lt;/em&gt;)&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fryqlqccsq58f8i1afx2u.png" alt="Terminal screenshot showing Git origin remote URLs for fetch and push." width="588" height="85"&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;git remote add upstream https://github.com/ORIGINAL-OWNER/REPO-NAME.git&lt;/code&gt; adds the upstream. &lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fu6p319c0aryxr0qggm29.png" alt="Terminal showing a Git command to add a remote repository." width="693" height="47"&gt;
&lt;/li&gt;
&lt;li&gt;Verify with &lt;code&gt;git remote -v&lt;/code&gt;.&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fv45gv0h4qoqv84cmz6s4.png" alt="Terminal window showing Git remote command output with remotes 'origin' and 'upstream'." width="669" height="123"&gt;
&lt;/li&gt;
&lt;/ol&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;Remember:&lt;/strong&gt; Upstream is the original repository you forked from. Adding an upstream lets you pull in updates from the source project to keep your copy up to date.&lt;/p&gt;
&lt;/blockquote&gt;




&lt;h2&gt;
  
  
  ⭐ Step 5: Work on Your New Branch
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;⚠️ Make sure you switch to your new branch so your changes don't touch &lt;em&gt;main&lt;/em&gt;.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fma2mdcutnexw6bza5hp7.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fma2mdcutnexw6bza5hp7.png" alt="Terminal showing the command to switch to example-branch" width="399" height="64"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Now you can edit files, using these commands as you go:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Check changed files: &lt;code&gt;git status&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;Stage files

&lt;ul&gt;
&lt;li&gt;Stage one file: &lt;code&gt;git add insert-file-name&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;Stage all changed files: &lt;code&gt;git add .&lt;/code&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Commit staged changes: &lt;code&gt;git commit -m "Your commit message"&lt;/code&gt;
&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fhlje8qijj0atf9ll3s99.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fhlje8qijj0atf9ll3s99.png" alt="Terminal commands showing git status, add, and commit with two untracked files." width="700" height="358"&gt;&lt;/a&gt;&lt;/p&gt;




&lt;h2&gt;
  
  
  ⭐ Step 6: Fetch Updates from Upstream
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;If you have any uncommitted changes, &lt;strong&gt;stage&lt;/strong&gt; and &lt;strong&gt;commit&lt;/strong&gt; them.&lt;/li&gt;
&lt;li&gt;Switch to your &lt;em&gt;main&lt;/em&gt; branch.&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;git fetch upstream&lt;/code&gt; to fetch the latest changes from the original repo.&lt;/li&gt;
&lt;/ol&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;NOTE:&lt;/strong&gt; This fetches changes for &lt;strong&gt;all&lt;/strong&gt; branches, not just &lt;em&gt;main&lt;/em&gt;.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fox0p804o7ld15qdkrii4.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fox0p804o7ld15qdkrii4.png" alt="Terminal chowing commands to return to main branch and fetch upstream" width="637" height="270"&gt;&lt;/a&gt;&lt;/p&gt;




&lt;h2&gt;
  
  
  ⭐ Step 7: Sync Upstream Changes with Local Main
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;code&gt;git merge upstream/main&lt;/code&gt;.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fskz8v3hs1sz2zumme836.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fskz8v3hs1sz2zumme836.png" alt="Terminal showing the command to merge upstream/main" width="436" height="120"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;This updates your &lt;em&gt;main&lt;/em&gt; branch with the latest changes from the original repo (upstream). (If you want to sync other branches, you need to check out each branch first and merge it following the same steps.)&lt;/p&gt;
&lt;/blockquote&gt;




&lt;h2&gt;
  
  
  ⭐ Step 8: Bring Changes from &lt;em&gt;main&lt;/em&gt; to Your Branch
&lt;/h2&gt;

&lt;p&gt;This ensures your branch has the latest changes you synced with &lt;em&gt;main&lt;/em&gt; in Step 7.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;code&gt;git checkout example-branch&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;git merge main&lt;/code&gt; &lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Futphmhlrwufdz34boh6c.png" alt="Terminal showing the commands to switch to example-branch and merge main" width="507" height="157"&gt;
&lt;/li&gt;
&lt;li&gt;A file will open where you can edit the merge commit message.&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Ffb59h1nkn7qaunsvrnos.png" alt="File named MERGE_MSG that has one line uncommented to create a commit message" width="734" height="189"&gt;
&lt;/li&gt;
&lt;li&gt;Closing the file confirms the merge.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fnwx17gq8s4heiar8bjqg.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fnwx17gq8s4heiar8bjqg.png" alt="Terminal showing underneath git merge main that a merge was made with insertions and deleltions." width="491" height="103"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;If there are conflicts, there are a few options you can read about here -&amp;gt; &lt;a href="https://www.freecodecamp.org/news/resolve-merge-conflicts-in-git-a-practical-guide/" rel="noopener noreferrer"&gt;How to Resolve Merge Conflicts in Git&lt;/a&gt;&lt;/p&gt;
&lt;/blockquote&gt;




&lt;h2&gt;
  
  
  ⭐ Step 9: Push Updates on Your Local Branch to Your Fork on GitHub
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;⚠️ Make sure all your changes are staged &lt;em&gt;and&lt;/em&gt; committed before pushing.&lt;/strong&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;code&gt;git checkout example-branch&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;git push origin new-branch-name&lt;/code&gt; pushes your local branch to your GitHub fork (&lt;em&gt;origin&lt;/em&gt;).&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F0bz2vggismqf1bzlohdv.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F0bz2vggismqf1bzlohdv.png" alt="Terminal showing the command git push origin example-branch" width="626" height="211"&gt;&lt;/a&gt;&lt;/p&gt;




&lt;h2&gt;
  
  
  ⭐ Step 10: Update Your Fork's &lt;em&gt;main&lt;/em&gt; on GitHub
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;&lt;code&gt;git checkout main&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;git push origin main&lt;/code&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fq8xopm8mbwyq1empx2zx.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fq8xopm8mbwyq1empx2zx.png" alt="Terminal showing the command to return to the main branch and push changes to origin main." width="564" height="216"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;This pushes your local &lt;em&gt;main&lt;/em&gt; to your fork's &lt;em&gt;main&lt;/em&gt;  on GitHub.&lt;/p&gt;
&lt;/blockquote&gt;




&lt;h2&gt;
  
  
  🎉 Your fork is now up to date and ready for development! Remember to regularly fetch and merge from upstream so your work stays in sync with the original repository.
&lt;/h2&gt;




&lt;h2&gt;
  
  
  Happy Coding! 🤓
&lt;/h2&gt;

</description>
      <category>webdev</category>
      <category>tutorial</category>
      <category>git</category>
      <category>vscode</category>
    </item>
  </channel>
</rss>
