<?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: Oluwademilade Ala</title>
    <description>The latest articles on DEV Community by Oluwademilade Ala (@demilade).</description>
    <link>https://dev.to/demilade</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%2F1896159%2F3986ddae-9ef6-445b-97a0-e63fa3438359.jpeg</url>
      <title>DEV Community: Oluwademilade Ala</title>
      <link>https://dev.to/demilade</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/demilade"/>
    <language>en</language>
    <item>
      <title>Introduction to Github</title>
      <dc:creator>Oluwademilade Ala</dc:creator>
      <pubDate>Fri, 24 Oct 2025 01:20:44 +0000</pubDate>
      <link>https://dev.to/demilade/introduction-to-github-2hd9</link>
      <guid>https://dev.to/demilade/introduction-to-github-2hd9</guid>
      <description>&lt;p&gt;Have you ever wondered how to store or keep track of your project versions as a developer or software engineer? How to present your project to clients or collaborate with other developers? &lt;/p&gt;

&lt;p&gt;We will go over how to combine Git with GitHub, one of the web platforms that developers use the most to share code and work in teams.&lt;/p&gt;

&lt;p&gt;In this article, we'll cover the following to simplify how Git and Github works:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Difference between Git and Github&lt;/li&gt;
&lt;li&gt;Create a Github account&lt;/li&gt;
&lt;li&gt;How to get started with github and git&lt;/li&gt;
&lt;li&gt;Create your first Github repository&lt;/li&gt;
&lt;li&gt;Clone a Github project&lt;/li&gt;
&lt;li&gt;Make a github commit&lt;/li&gt;
&lt;li&gt;Github Desktop and Github CLI&lt;/li&gt;
&lt;/ul&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%2F2uu207tebuqtzv5pu8xg.gif" 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%2F2uu207tebuqtzv5pu8xg.gif" alt="Let us begin" width="220" height="153"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  What is Github
&lt;/h2&gt;

&lt;p&gt;Github is a platform for developers to create, manage, store and share their code. Github also serves as a hosting service you can use to collaborate on projects and share files.&lt;/p&gt;

&lt;p&gt;According to &lt;a href="https://resources.github.com/faq/" rel="noopener noreferrer"&gt;Github resources&lt;/a&gt;, It's not just developers who build on GitHub. Fortune 500 companies, small teams, project managers, and college professors all use GitHub to do their best work, in one place.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why Github
&lt;/h2&gt;

&lt;p&gt;Github is widely used among millions of developers to collaborate and work together, and the numbers keep increasing.&lt;/p&gt;

&lt;p&gt;As a result, an increasing number of companies are expecting new workers to know how to use GitHub and Git. Therefore, these are the skills to have if you are looking for a job as a developer.&lt;/p&gt;

&lt;p&gt;The interface also makes it easy for users to oversee other projects like documentations,research papers, grant proposals etc. Anyone can register and own a public repository on Github. It also helps businesses manage their team members and security.&lt;/p&gt;

&lt;h2&gt;
  
  
  Git vs Github
&lt;/h2&gt;

&lt;p&gt;According to &lt;a href="https://www.freecodecamp.org/news/introduction-to-git-and-github/#what-are-git-and-github" rel="noopener noreferrer"&gt;FreeCodeCamp&lt;/a&gt;, Git was developed in 2005 by Linus Torvalds as open source software for tracking changes in a distributed version control system.&lt;/p&gt;

&lt;p&gt;You'll need an approach for tracking or documenting your code when working on a project. This helps with organization of your work and allows you to monitor the changes you have made. Git allows you to do this.&lt;/p&gt;

&lt;p&gt;Git is a tool for managing different versions of source code updates that are afterward transferred to files in a Git repository, while Github is a location where copies of a Git repository can be uploaded. &lt;/p&gt;

&lt;h2&gt;
  
  
  How to get started with github and git
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;1. Install Git&lt;/strong&gt;&lt;br&gt;
You can check if you have git installed already by typing &lt;code&gt;git version&lt;/code&gt; in your terminal.&lt;br&gt;
To open your terminal in windows, click on the windows button and search for &lt;code&gt;terminal&lt;/code&gt; or &lt;code&gt;cmd&lt;/code&gt;. For mac, press the command and space button, then search for &lt;code&gt;terminal&lt;/code&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%2Fw6394jnfh4smjkcefdku.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%2Fw6394jnfh4smjkcefdku.png" alt="search-terminal" width="800" height="503"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;If you don't have git installed, you can download git with this &lt;a href="https://git-scm.com/download" rel="noopener noreferrer"&gt;link&lt;/a&gt; and then choose the operating system you want to use.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;2. Create a Github account&lt;/strong&gt;&lt;br&gt;
To register an account on github, click on this &lt;a href="https://github.com/" rel="noopener noreferrer"&gt;link&lt;/a&gt; where you'll be required to fill some information, make sure to set a strong and unique password.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;3. Set up Git&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;set your username and email &lt;/li&gt;
&lt;li&gt;Open your terminal and type the following commands
&lt;/li&gt;
&lt;/ul&gt;
&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;git config --global user.name "Your Name"
git config --global user.email "your.email@example.com"
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;


&lt;ul&gt;
&lt;li&gt;To confirm that you have set them correctly, enter the commands:
&lt;/li&gt;
&lt;/ul&gt;
&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;git config --global user.name
git config --global user.email
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;


&lt;p&gt;You should have your selected name and email as the output&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;4. Create and edit your various files locally&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%2F9s8pbn47r1iaa3jt9e45.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%2F9s8pbn47r1iaa3jt9e45.png" alt="code in local machine" width="800" height="500"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;5. Create a Github repository&lt;/strong&gt;&lt;br&gt;
You can create a github reposistory by visiting &lt;a href="https://github.com/" rel="noopener noreferrer"&gt;github&lt;/a&gt;.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Register by inputing your email and creating your password&lt;/li&gt;
&lt;/ul&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%2Fwxn112ze8tqn8d5pf1i8.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%2Fwxn112ze8tqn8d5pf1i8.png" alt="github website" width="800" height="500"&gt;&lt;/a&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%2F1w8q4nuk8umaxhixrjjz.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%2F1w8q4nuk8umaxhixrjjz.png" alt="github-register" width="800" height="500"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;After registering, select the &lt;strong&gt;Repositories&lt;/strong&gt; tab&lt;/li&gt;
&lt;/ul&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%2Fk2jbec3vb85p46dipm7m.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%2Fk2jbec3vb85p46dipm7m.png" alt="github-repositories" width="800" height="97"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Select the add &lt;strong&gt;NEW&lt;/strong&gt; repository button to create a new repository&lt;/li&gt;
&lt;/ul&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%2F57d475tqdo1mptgq80z1.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%2F57d475tqdo1mptgq80z1.png" alt="github-add-new-repo" width="800" height="91"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;Enter your name, choose whether to make the repository public or private. Anyone that is one the internet can see a &lt;strong&gt;public&lt;/strong&gt; repository while you choose who can see and commit to a &lt;strong&gt;private&lt;/strong&gt; repository.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Choose to add a README file where you can write a long description of your project.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Select the &lt;strong&gt;Create repository&lt;/strong&gt; button to create your first github repository.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&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%2Fbjnq54bu5fjmibkt3wim.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%2Fbjnq54bu5fjmibkt3wim.png" alt="github-create-first-repository" width="800" height="539"&gt;&lt;/a&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%2Fn80sld7dl6rqunw5xrek.gif" 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%2Fn80sld7dl6rqunw5xrek.gif" alt="simple-right" width="260" height="257"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;h2&gt;
  
  
  Clone a github project
&lt;/h2&gt;

&lt;p&gt;After creating a github repository, navigate back to the Repositories tab. Follow these steps to clone a Repository to your local machine.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Copy the Repository URL&lt;/li&gt;
&lt;/ul&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%2Fqtb1pyaktb8ydscsjgam.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%2Fqtb1pyaktb8ydscsjgam.png" alt="copy-url" width="800" height="218"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Open your terminal&lt;/li&gt;
&lt;li&gt;Navigate to the directory where you'd like to place your project folder&lt;/li&gt;
&lt;li&gt;Run &lt;code&gt;git clone&lt;/code&gt; followed by your Repository URL
&lt;/li&gt;
&lt;/ul&gt;
&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;git clone https://github.com/"your-username"/your-repository.git
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;


&lt;ul&gt;
&lt;li&gt;Navigate into the cloned repository
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;code&gt;cd your-repository&lt;/code&gt;&lt;br&gt;
&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;You can open the Repository with any IDE (Integrated Development Environment) of your choice.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Make a github commit
&lt;/h2&gt;

&lt;p&gt;Once you've added your files or made edits to your project files, you can save your changes on git by adding commits. &lt;/p&gt;

&lt;p&gt;Commits allow Git to track changes locally on your device. This enables you to keep a history of changes to your files, allowing you to revert to a previous version if needed.&lt;/p&gt;

&lt;p&gt;You can follow these steps to make a commit:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Open your project terminal &lt;/li&gt;
&lt;/ul&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%2Fgb2p8qu7ya2viytv4hwn.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%2Fgb2p8qu7ya2viytv4hwn.png" alt="terminal" width="800" height="328"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Stage the changes
&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;git add .
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;ul&gt;
&lt;li&gt;Commit your changes
&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;git commit -m "First Commit"
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The -m flag in the git commit command stands for "message." It allows you to provide a commit message directly from the command line.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Push the changes to Github
&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;git push origin main

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;If the origin is not set to main, adjust the command accordingly.&lt;/p&gt;

&lt;h2&gt;
  
  
  Github Desktop and Github CLI
&lt;/h2&gt;

&lt;p&gt;Github Desktop is a GUI (Graphical User Interface) application that simplifies working with Git and Github.&lt;/p&gt;

&lt;p&gt;The CLI offers a more direct and flexible way to perform Git operations &lt;a href="https://medium.com/@vishwasacharya/github-desktop-vs-command-line-choose-the-right-tool-for-you-feb58c3f0e30#:~:text=In%20contrast%20to%20GitHub%20Desktop's,way%20to%20perform%20Git%20operations." rel="noopener noreferrer"&gt;Vishwas Acharya (GitHub Desktop vs Command Line: Which is Right for You?)&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Both GitHub Desktop and GitHub CLI provide special benefits. GitHub Desktop is a great option for beginners and those who prefer a visual approach because of its user-friendly graphical interface, which makes interacting with Git and GitHub easier. GitHub CLI, on the other hand, gives users the command-line's flexibility and control, making it perfect for expert users and those who want to automate and script their GitHub activities. They are both made to help you be more productive and optimize your version control procedures.&lt;/p&gt;

&lt;p&gt;In conclusion, Git and GitHub are strong tools that complement one other to facilitate collaborative development and version control. Git is a distributed version control system that facilitates version control, change tracking, code version management, and effective teamwork. By offering a repository hosting platform, encouraging teamwork, and including extra capabilities like pull requests, issue tracking, and continuous integration, GitHub expands upon Git.&lt;/p&gt;

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