<?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: Jahid Hiron</title>
    <description>The latest articles on DEV Community by Jahid Hiron (@jahidhiron).</description>
    <link>https://dev.to/jahidhiron</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%2F2203963%2F8921f90c-47bf-4291-8e1e-681ec2357625.jpg</url>
      <title>DEV Community: Jahid Hiron</title>
      <link>https://dev.to/jahidhiron</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/jahidhiron"/>
    <language>en</language>
    <item>
      <title>Keep a Node.js App Running 24/7 on AWS EC2 with PM2</title>
      <dc:creator>Jahid Hiron</dc:creator>
      <pubDate>Fri, 27 Nov 2026 05:12:23 +0000</pubDate>
      <link>https://dev.to/jahidhiron/keep-a-nodejs-app-running-247-on-aws-ec2-with-pm2-3dnc</link>
      <guid>https://dev.to/jahidhiron/keep-a-nodejs-app-running-247-on-aws-ec2-with-pm2-3dnc</guid>
      <description>&lt;p&gt;In my last post, I got my Node app running on EC2 with &lt;code&gt;npm start&lt;/code&gt;. It worked until I closed the terminal. Then it was gone.&lt;/p&gt;

&lt;p&gt;This post fixes that with PM2. It takes about 5 commands.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why the app stops
&lt;/h2&gt;

&lt;p&gt;When you run &lt;code&gt;npm start&lt;/code&gt; over SSH, the app is a child of your shell. Close the SSH window and the shell exits, so the app exits with it. &lt;code&gt;Ctrl+C&lt;/code&gt; does the same thing on purpose.&lt;/p&gt;

&lt;p&gt;A server needs the app to run with nobody logged in. That's what a process manager is for.&lt;/p&gt;

&lt;h2&gt;
  
  
  1. Install PM2
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;npm i -g pm2
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;If you get &lt;code&gt;permission denied&lt;/code&gt;, your global npm folder belongs to root. Run it with sudo:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;sudo npm i -g pm2
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  2. Start the app with PM2
&lt;/h2&gt;

&lt;p&gt;From inside the project folder:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;pm2 start index.js --name node-api
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;PM2 prints a table with an ID (0) and the name you gave it. The app is now running in the background. You can close your SSH session, and it keeps running.&lt;/p&gt;

&lt;h2&gt;
  
  
  3. Check the logs
&lt;/h2&gt;

&lt;p&gt;You no longer see the app's output in your terminal. To read it:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;pm2 logs node-api
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;You can also use the ID: &lt;code&gt;pm2 logs 0&lt;/code&gt;. Press &lt;code&gt;Ctrl+C&lt;/code&gt; to stop watching the logs. That doesn't stop the app.&lt;/p&gt;

&lt;h2&gt;
  
  
  4. See what's running
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;pm2 list
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;This shows every app PM2 manages, its status, CPU, memory, and restart count. A rising restart count means your app is crashing.&lt;/p&gt;

&lt;h2&gt;
  
  
  5. Start it again after a reboot
&lt;/h2&gt;

&lt;p&gt;PM2 keeps the app alive while the server is up. If the EC2 instance reboots, PM2 itself needs to start again. Two commands handle that:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;pm2 startup
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;This prints one &lt;code&gt;sudo env PATH=...&lt;/code&gt; command. Copy it and run it. It registers PM2 as a system service.&lt;/p&gt;

&lt;p&gt;Then save the current list of apps:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;pm2 save
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Now, after a reboot, PM2 starts and brings &lt;code&gt;node-api&lt;/code&gt; back on its own. Test it with &lt;code&gt;sudo reboot&lt;/code&gt;, SSH back in after a minute, and run &lt;code&gt;pm2 list&lt;/code&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  Next
&lt;/h2&gt;

&lt;p&gt;The app runs on port 4000. Next, I put Nginx in front of it so people can reach it on port 80.&lt;/p&gt;

&lt;h2&gt;
  
  
  Video
&lt;/h2&gt;

&lt;p&gt;Here's the 4-minute walkthrough:&lt;/p&gt;

&lt;p&gt;  &lt;iframe src="https://www.youtube.com/embed/aWgdEx5-w1k" width="710" height="399"&gt;
  &lt;/iframe&gt;
&lt;/p&gt;

&lt;p&gt;Previous step, run the app with npm start: &lt;a href="https://dev.to/jahidhiron/run-a-nodejs-app-on-aws-ec2-and-why-it-stops-when-you-close-ssh-3bb5"&gt;https://dev.to/jahidhiron/run-a-nodejs-app-on-aws-ec2-and-why-it-stops-when-you-close-ssh-3bb5&lt;/a&gt;&lt;br&gt;
Full course playlist: &lt;a href="https://www.youtube.com/playlist?list=PLfeDvEEUyoEJZGnw11rKIET5lJDs6JmhD" rel="noopener noreferrer"&gt;https://www.youtube.com/playlist?list=PLfeDvEEUyoEJZGnw11rKIET5lJDs6JmhD&lt;/a&gt;&lt;/p&gt;

</description>
      <category>node</category>
      <category>aws</category>
      <category>devops</category>
      <category>tutorial</category>
    </item>
    <item>
      <title>Run a Node.js App on AWS EC2 (and Why It Stops When You Close SSH)</title>
      <dc:creator>Jahid Hiron</dc:creator>
      <pubDate>Fri, 27 Nov 2026 04:23:27 +0000</pubDate>
      <link>https://dev.to/jahidhiron/run-a-nodejs-app-on-aws-ec2-and-why-it-stops-when-you-close-ssh-3bb5</link>
      <guid>https://dev.to/jahidhiron/run-a-nodejs-app-on-aws-ec2-and-why-it-stops-when-you-close-ssh-3bb5</guid>
      <description>&lt;p&gt;My Node app ran fine on my laptop. Getting it to run on a real server took 3 commands. Keeping it running took one more tool.&lt;/p&gt;

&lt;p&gt;This post is part of my series on deploying a Node.js app to AWS. By now I have an Ubuntu EC2 instance, Node.js 22 and Git installed, and my project cloned from GitHub. If you're not there yet, the earlier steps are linked at the end.&lt;/p&gt;

&lt;h2&gt;
  
  
  1. Find the project folder
&lt;/h2&gt;

&lt;p&gt;SSH into the server and list what's in your home folder:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;ls
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;My project is called &lt;code&gt;node-api&lt;/code&gt;. Move into it:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="nb"&gt;cd&lt;/span&gt; node-api
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  2. Install the dependencies
&lt;/h2&gt;

&lt;p&gt;The &lt;code&gt;node_modules&lt;/code&gt; folder is never in Git, so the server doesn't have it yet. Install it:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;npm i
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;If this fails, check your Node version first with &lt;code&gt;node -v&lt;/code&gt;. An old Node version is the most common cause. I'm on Node 22.&lt;/p&gt;

&lt;h2&gt;
  
  
  3. Start the app
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;npm start
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;My app prints that it's listening on port 4000. It works.&lt;/p&gt;

&lt;p&gt;If you want to open it from your browser using the server's public IP, that port also has to be allowed in the instance's Security Group.&lt;/p&gt;

&lt;h2&gt;
  
  
  4. The problem
&lt;/h2&gt;

&lt;p&gt;Now press &lt;code&gt;Ctrl+C&lt;/code&gt;. The app stops right away.&lt;/p&gt;

&lt;p&gt;Close the SSH window and the same thing happens. The app is tied to your terminal session. When the session ends, the app ends.&lt;/p&gt;

&lt;p&gt;That's fine for a quick test. It's useless for a real server that needs to stay up all day while you're logged out.&lt;/p&gt;

&lt;h2&gt;
  
  
  5. The fix: PM2
&lt;/h2&gt;

&lt;p&gt;PM2 is a process manager for Node.js. It runs your app in the background, restarts it if it crashes, and can start it again after the server reboots.&lt;/p&gt;

&lt;p&gt;I set it up in the next post and video.&lt;/p&gt;

&lt;h2&gt;
  
  
  Video
&lt;/h2&gt;

&lt;p&gt;Here's the 2.5 minute walkthrough of everything above:&lt;/p&gt;

&lt;p&gt;  &lt;iframe src="https://www.youtube.com/embed/ophx-eD7yQQ" width="710" height="399"&gt;
  &lt;/iframe&gt;
&lt;/p&gt;

&lt;p&gt;Next, keep it running 24/7 with PM2: &lt;a href="https://youtu.be/aWgdEx5-w1k" rel="noopener noreferrer"&gt;https://youtu.be/aWgdEx5-w1k&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Full course playlist: &lt;a href="https://www.youtube.com/playlist?list=PLfeDvEEUyoEJZGnw11rKIET5lJDs6JmhD" rel="noopener noreferrer"&gt;https://www.youtube.com/playlist?list=PLfeDvEEUyoEJZGnw11rKIET5lJDs6JmhD&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Earlier steps:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Launch and connect to EC2: &lt;a href="https://youtu.be/JH5V5jKzILs" rel="noopener noreferrer"&gt;https://youtu.be/JH5V5jKzILs&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;Create the Security Group first: &lt;a href="https://youtu.be/3tn56NQ2710" rel="noopener noreferrer"&gt;https://youtu.be/3tn56NQ2710&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;Install Node.js 22 and Git on EC2: &lt;a href="https://youtu.be/ixzhrVpSSlU" rel="noopener noreferrer"&gt;https://youtu.be/ixzhrVpSSlU&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;Connect EC2 to GitHub with SSH keys: &lt;a href="https://youtu.be/au71kakla4M" rel="noopener noreferrer"&gt;https://youtu.be/au71kakla4M&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;Clone a private GitHub repo on EC2: &lt;a href="https://youtu.be/1MDz3yMzj7A" rel="noopener noreferrer"&gt;https://youtu.be/1MDz3yMzj7A&lt;/a&gt;
&lt;/li&gt;
&lt;/ol&gt;

</description>
      <category>node</category>
      <category>aws</category>
      <category>devops</category>
      <category>tutorial</category>
    </item>
    <item>
      <title>Understanding Git: The Ultimate Guide with Practical Examples</title>
      <dc:creator>Jahid Hiron</dc:creator>
      <pubDate>Thu, 24 Oct 2024 07:00:34 +0000</pubDate>
      <link>https://dev.to/jahidhiron/understanding-git-the-ultimate-guide-with-practical-examples-lgi</link>
      <guid>https://dev.to/jahidhiron/understanding-git-the-ultimate-guide-with-practical-examples-lgi</guid>
      <description>&lt;p&gt;Git is a powerful tool for managing versions in software development. It works like a digital filing system, allowing you to store multiple versions of your work and easily revert to an earlier version if needed.&lt;/p&gt;

&lt;p&gt;One great advantage of Git is that it's distributed, meaning each developer has a complete copy of the project, including its history, on their computer. This makes it easy for teams to collaborate, no matter where they’re located&lt;/p&gt;

&lt;p&gt;In this guide, I’ll explain the fundamentals of Git and why it’s helpful for anyone managing code or files. By the end, you'll clearly understand what Git is and how it can enhance your project workflow.&lt;/p&gt;

&lt;p&gt;Linus Torvalds, the creator of Linux, also developed Git. He built Git to manage contributions from different developers while working on the Linux Kernel project.&lt;/p&gt;

&lt;p&gt;If you visit Git's official website, you'll find the definition that "&lt;em&gt;Git is a free and open-source distributed version control system&lt;/em&gt;".&lt;/p&gt;

&lt;p&gt;&lt;br&gt;&lt;br&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%2F6efczif92x0gfwvfg3nn.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%2F6efczif92x0gfwvfg3nn.png" alt=" " width="800" height="265"&gt;&lt;/a&gt;&lt;br&gt;
&lt;br&gt;&lt;/p&gt;

&lt;p&gt;I know the definition might seem complicated. There are two important terms here: &lt;strong&gt;distributed&lt;/strong&gt; and &lt;strong&gt;version control system&lt;/strong&gt;. Let’s begin by explaining a version control system.&lt;br&gt;
&lt;br&gt;&lt;/p&gt;

&lt;p&gt;A &lt;strong&gt;Version Control System&lt;/strong&gt; (VCS) is a tool that keeps track of changes to files. It allows you to go back to earlier versions of a file or group of files whenever you need. With Git, you can easily undo changes and get back to previous versions of your work.&lt;/p&gt;

&lt;p&gt;Git isn’t limited to tracking just source code—it can also manage images, research papers, or any type of file.&lt;/p&gt;

&lt;p&gt;&lt;br&gt;&lt;br&gt;
&lt;strong&gt;There are three types of version control systems:&lt;/strong&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;em&gt;Local version control system&lt;/em&gt;&lt;/li&gt;
&lt;li&gt;&lt;em&gt;Centralized version control system&lt;/em&gt;&lt;/li&gt;
&lt;li&gt;&lt;em&gt;Distributed version control system&lt;/em&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;br&gt;&lt;br&gt;
A &lt;strong&gt;Local Version Control System&lt;/strong&gt; is an easy way to keep track of file changes. You save copies of your files in different folders or directories, usually by date or version. It's like making a backup every time you change something.&lt;/p&gt;

&lt;p&gt;For example, imagine you're working on a document. Each time you make an update, you save a new version in a folder labeled with a version number or timestamp, such as &lt;strong&gt;Version_1&lt;/strong&gt; or &lt;strong&gt;Version_1_YYYYMMDD_HHMM&lt;/strong&gt;. If anything goes wrong or you want to review an earlier version, you can quickly revert to one of these copies.&lt;/p&gt;

&lt;p&gt;&lt;br&gt;&lt;br&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%2Fd01kex4x633t17npgnaa.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%2Fd01kex4x633t17npgnaa.png" alt=" " width="721" height="491"&gt;&lt;/a&gt;&lt;br&gt;
&lt;br&gt;&lt;/p&gt;

&lt;p&gt;Local version control comes with several significant limitations that impact its efficiency and usability:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Limited Accessibility:&lt;/strong&gt; These systems are only accessible on your local machine, making collaboration difficult. Sharing files requires manual methods, such as email or external drives.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;No Backup:&lt;/strong&gt; Since everything is stored locally if your machine is lost or damaged, you can only recover versions and backups if you’ve made manual external backups.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;No Collaboration Features:&lt;/strong&gt; Multiple people cannot simultaneously work on the same project. If one person makes changes, they may accidentally overwrite another’s work, resulting in conflicts.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Manual Versioning:&lt;/strong&gt; Users must manually create new folders or files for each version, which can lead to mistakes, such as forgetting to save a new version, accidentally overwriting files, or mislabeling them.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;br&gt;&lt;br&gt;
A &lt;strong&gt;Centralized Version Control System&lt;/strong&gt; was developed to facilitate developer collaboration. In this setup, all versioned files are stored on a single server, which allows multiple users to access them from one central location. This approach is similar to a local version control system, but everything is stored on the server instead of saving files and backups on individual machines.&lt;/p&gt;

&lt;p&gt;This approach has been widely used for version control for many years, helping teams collaborate on their projects. Some examples of centralized version control systems are &lt;strong&gt;Subversion&lt;/strong&gt; (SVN), &lt;strong&gt;CVS&lt;/strong&gt; (Concurrent Versions System), &lt;strong&gt;Microsoft Team Foundation Server&lt;/strong&gt; (TFS), and &lt;strong&gt;Perforce&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;&lt;br&gt;&lt;br&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%2Fooz5ixbv94i0r73gm7mt.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%2Fooz5ixbv94i0r73gm7mt.png" alt=" " width="721" height="501"&gt;&lt;/a&gt;&lt;br&gt;
&lt;br&gt;&lt;/p&gt;

&lt;p&gt;Centralized version control systems provide a different way to manage file versions than local version control systems. They improve collaboration and organize changes but also have their benefits and drawbacks. Here are the pros and cons:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Pros:&lt;/strong&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Enhanced Collaboration:&lt;/strong&gt; Multiple users can work on the same project simultaneously, accessing a single source for all files.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Simplified Backup:&lt;/strong&gt; All files are kept on a central server, which simplifies backing up the entire project and helps keep track of different versions.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Version History:&lt;/strong&gt; Centralized systems keep a complete record of all changes, making it easy to track edits and return to earlier versions.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;strong&gt;Cons:&lt;/strong&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Single Point of Failure:&lt;/strong&gt; If the central server goes down, users cannot access their versioned files until the server is back up and running.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Network Dependency:&lt;/strong&gt; Users need an internet connection to access the file system, which can slow down work when they are offline.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Potential for Conflicts:&lt;/strong&gt; When multiple users make changes simultaneously, it can create conflicts that need to be fixed manually.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;br&gt;&lt;br&gt;
A &lt;strong&gt;Distributed Version Control System&lt;/strong&gt; allows users to access files and have copies of the entire project, including its history. Unlike centralized version control systems, which give users only one version of the files at a time without any history, a distributed version control system records every modification along with its date and time, providing a detailed history of changes.&lt;/p&gt;

&lt;p&gt;&lt;br&gt;&lt;br&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%2Ftf0dvj4sj9z6wgthxzym.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%2Ftf0dvj4sj9z6wgthxzym.png" alt=" " width="800" height="770"&gt;&lt;/a&gt;&lt;br&gt;
&lt;br&gt;&lt;/p&gt;

&lt;p&gt;Distributed version control systems offer several advantages over centralized version control systems, enhancing collaboration and project management. Here are some key benefits:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Independent Work:&lt;/strong&gt; Users can work offline and make changes without a central server. This flexibility allows them to stay productive, even in remote areas.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Complete History:&lt;/strong&gt; Users can see the entire project history, including all changes, dates, and times. This detailed record helps track updates and shows how the project has progressed.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Enhanced Collaboration:&lt;/strong&gt; Many users can simultaneously work on different project sections. Once they're done, they can merge their changes, which helps minimize conflicts.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Improved Backup:&lt;/strong&gt; Since everyone has a full copy of the project, the chance of losing data is low. If the central server goes down, users can still access their copies.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;br&gt;&lt;br&gt;
Alright, guys. Now, I'm pretty sure you understand the official Git definition: "&lt;em&gt;Git is a free and open-source distributed version control system&lt;/em&gt;".&lt;br&gt;
&lt;br&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  Conclusion:
&lt;/h3&gt;

&lt;p&gt;Git is a powerful tool that changes how developers manage their projects. As a distributed version control system, Git allows users to work independently or collaboratively while tracking file changes. Whether handling a small project or collaborating with a large team, Git provides the flexibility and security you need to manage your code successfully. Learning and using Git can help you work better and make your projects more successful.&lt;/p&gt;

&lt;p&gt;Follow my Medium profile &lt;a href="https://medium.com/@jahidhiron" rel="noopener noreferrer"&gt;here&lt;/a&gt; for more insights and updates!&lt;/p&gt;

&lt;p&gt;&lt;br&gt;&lt;br&gt;
To take your JavaScript skills to the next level, consider diving deeper with comprehensive &lt;a href="https://udemy.com/user/jahid-hiron" rel="noopener noreferrer"&gt;Udemy&lt;/a&gt; courses on &lt;a href="https://www.udemy.com/course/all-you-need-to-know-nodejs-with-practical-project" rel="noopener noreferrer"&gt;Node.js&lt;/a&gt;, &amp;nbsp; &lt;a href="https://www.udemy.com/course/all-you-need-to-know-react-with-practical-project" rel="noopener noreferrer"&gt;React&lt;/a&gt;, and the &lt;a href="https://www.udemy.com/course/all-you-need-to-know-mern-stack-with-practical-project" rel="noopener noreferrer"&gt;MERN Stack&lt;/a&gt;. These courses will provide hands-on projects, teach advanced techniques, and help you effectively leverage closures to build sophisticated and dynamic web applications. Start learning today and empower yourself to become a skilled full-stack developer!&lt;/p&gt;

</description>
      <category>git</category>
      <category>versioncontrol</category>
      <category>collaboration</category>
      <category>projectmanagement</category>
    </item>
  </channel>
</rss>
