<?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: Nashipae Ntung'ani</title>
    <description>The latest articles on Forem by Nashipae Ntung'ani (@nashipae_ntungani_8eae55).</description>
    <link>https://forem.com/nashipae_ntungani_8eae55</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%2F3716614%2Fc31150f0-20b6-49da-acc8-a37c91cbabf5.png</url>
      <title>Forem: Nashipae Ntung'ani</title>
      <link>https://forem.com/nashipae_ntungani_8eae55</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://forem.com/feed/nashipae_ntungani_8eae55"/>
    <language>en</language>
    <item>
      <title>Schemas and Data Modelling in Power Bi</title>
      <dc:creator>Nashipae Ntung'ani</dc:creator>
      <pubDate>Mon, 02 Feb 2026 11:31:20 +0000</pubDate>
      <link>https://forem.com/nashipae_ntungani_8eae55/schemas-and-data-modelling-in-power-bi-29dp</link>
      <guid>https://forem.com/nashipae_ntungani_8eae55/schemas-and-data-modelling-in-power-bi-29dp</guid>
      <description>&lt;h1&gt;
  
  
  POWER BI
&lt;/h1&gt;

&lt;p&gt;It is a tool that is mainly aimed to help organizations and individuals to visualize and organize data &lt;/p&gt;

&lt;h1&gt;
  
  
  Data modelling
&lt;/h1&gt;

&lt;p&gt;Data modelling is a foundational concept in Power BI that determines how data is structured, related, and analyzed within a report. A well-designed data model improves performance, ensures accurate calculations, and makes reports easier to understand and maintain. &lt;/p&gt;

&lt;p&gt;In Power BI, the way you structure your data known as Data Modeling is the single most important factor in determining whether your reports are fast, accurate, and easy to use. While Power Query handles the cleaning, the Data Model (Model View) is where you define how different tables "talk" to each other to create a cohesive story.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;1. The Building Blocks: Fact vs. Dimension Tables&lt;/strong&gt;&lt;br&gt;
Before choosing a schema, you must distinguish between your two types of tables:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Fact Tables (The "What"): These contain the quantitative data or "metrics" you want to analyze. They are usually long, containing thousands or millions of rows of transactions.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Example: In the Kenya crops dataset, the Yield or Sales table is the fact table.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Dimension Tables (The "Who, Where, When"): these provide context to your facts. They contain unique lists of attributes used for filtering and grouping.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Example: the County table (Kenya Crop dataset).&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;2. Choosing a Schema: Star vs. Snowflake&lt;/strong&gt;&lt;br&gt;
A "schema" is the visual layout of your tables and their relationships.&lt;/p&gt;

&lt;p&gt;*&lt;em&gt;The Star Schema *&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;-In a Star Schema, the central fact table is connected directly to several dimension tables. Visually, it looks like a star.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;Power BI is "engine-optimized" for this structure. It simplifies your DAX calculations and provides the fastest query performance because there is only one "hop" from a filter (Dimension) to a result (Fact).&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Always aim for a Star Schema. If your data is "flat" (one big table), use Power Query to break it into one Fact and multiple Dimensions.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;The Snowflake Schema&lt;/strong&gt;&lt;br&gt;
A Snowflake Schema is an extension where dimension tables are "normalized" into further sub-dimension tables.&lt;/p&gt;

&lt;p&gt;Example: Instead of one Product table, you have a Product table that links to a Category table, which then links to a Department table.&lt;/p&gt;

&lt;p&gt;The Downside: While it saves storage by reducing duplicate text, it creates a "chain" of relationships. This makes your DAX more complex and can slow down your reports as Power BI has to "jump" through multiple tables to get a result.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;3. Relationships and Cardinality&lt;/strong&gt;&lt;br&gt;
Relationships are the paths through which filters flow. In Power BI, we primarily deal with One-to-Many relationships.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;One to Many: One patient in the Patients (Dimension) table can have many visits in the Treatments (Fact) table.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Directionality: Always try to keep your cross-filter direction as Single. This ensures that filters flow from the Dimension to the Fact, preventing "circular dependency" errors and keeping performance high.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Reference:&lt;br&gt;
&lt;a&gt;file:///C:/Users/USER/Downloads/Introduction%20to%20Power%20BI,%20Power%20Query%20and%20Dax%20part%201.pdf&lt;/a&gt;&lt;/p&gt;

</description>
      <category>programming</category>
      <category>dataanalytics</category>
      <category>data</category>
      <category>analysis</category>
    </item>
    <item>
      <title>Beginner's Guide to Basic Data Analysis in Microsoft Excel</title>
      <dc:creator>Nashipae Ntung'ani</dc:creator>
      <pubDate>Sun, 25 Jan 2026 13:45:29 +0000</pubDate>
      <link>https://forem.com/nashipae_ntungani_8eae55/beginners-guide-to-basic-data-analysis-in-microsoft-excel-3l55</link>
      <guid>https://forem.com/nashipae_ntungani_8eae55/beginners-guide-to-basic-data-analysis-in-microsoft-excel-3l55</guid>
      <description>&lt;h1&gt;
  
  
  Introduction
&lt;/h1&gt;

&lt;p&gt;MS Excel is one of the ,most widely used micro soft tools for recording and analyzing information. Whether a person is managing personal finances, tracking school marks, or handling business report, Excel provides a simple way to turn a list of numbers to meaningful insights &lt;/p&gt;

&lt;h1&gt;
  
  
  The Interface
&lt;/h1&gt;

&lt;p&gt;Before analyzing data, you need to know where things are. The excel screen is a grid of columns(labeled as letter A,B,C)and rows (labeled with numbers 1,2,3).&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Cell&lt;/strong&gt;: The intersection of rows and a column (eg cell A1)&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Ribbon&lt;/strong&gt;:The tool bar at the top where you find all your tools like home, Insert and data&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Formula Bar&lt;/strong&gt;: Located above the grid, this shows the exact text or calculation inside the exact text or calculated inside the cell one ahs selected &lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;h1&gt;
  
  
  Cleaning Data
&lt;/h1&gt;

&lt;p&gt;Excel has several built-in tools to help fix errors:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Removing duplicates&lt;/strong&gt;: If you have the same information repeated by mistake, go to the Data tab and click remove duplicates &lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Text cleaning&lt;/strong&gt;: You use simple formulas to fix messy text:&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;&lt;code&gt;=PROPER(A2)&lt;/code&gt;: capitalizes the first letter of every word eg names &lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;code&gt;=TRIM(A2)&lt;/code&gt;:Remove extra spaces from beginning or end of your text&lt;br&gt;
3.&lt;strong&gt;Conditional Formatting&lt;/strong&gt; &lt;br&gt;
This tool automatically highlights cell based on rules. &lt;br&gt;
Highlight Cell Rules (Greater Than 80,000,Less Than 80,000)&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%2Fo0o3xbdvmgobmg9fxl17.jpg" 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%2Fo0o3xbdvmgobmg9fxl17.jpg" alt=" " width="249" height="522"&gt;&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;h1&gt;
  
  
  Organizing with Sorting and Filtering
&lt;/h1&gt;

&lt;p&gt;Once your data is clea, you can organize it to see patterns.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Sorting&lt;/strong&gt;: This changes the order of your list. for example, one can sort a list of employee salary from highest to lowest to see who the highest earners are. Freeze Top Row: &lt;/li&gt;
&lt;li&gt;View tab &amp;gt; Freeze Panes. &lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Choose Freeze Top Row.&lt;br&gt;
&lt;em&gt;Types of sorting:&lt;/em&gt; &lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Text: A to Z or Z to A &lt;/li&gt;
&lt;li&gt;Numbers: Smallest to Largest or Largest to Smallest &lt;/li&gt;
&lt;li&gt;Dates: Oldest to Newest or Newest to Oldest &lt;/li&gt;
&lt;/ul&gt;


&lt;/li&gt;

&lt;li&gt;&lt;p&gt;&lt;strong&gt;Filtering&lt;/strong&gt;: This hides data you don't need. &lt;br&gt;&lt;br&gt;
An example: If you only want to see employees from the "IT" department, you can click the filter button on the data tab and uncheck everthing except "IT"&lt;/p&gt;&lt;/li&gt;

&lt;li&gt;&lt;p&gt;&lt;strong&gt;Freezing panes&lt;/strong&gt;: Keeps your header row visible while you scroll through thousands of row data. To freeze Top Row: &lt;br&gt;&lt;br&gt;
-View tab &amp;gt; Freeze Panes. &lt;br&gt;&lt;br&gt;
-Choose Freeze Top Row.&lt;br&gt;&lt;br&gt;
One can choose to freeze the top column or custom freeze &lt;/p&gt;&lt;/li&gt;

&lt;/ul&gt;

&lt;h1&gt;
  
  
  Basic calculation (Functions)
&lt;/h1&gt;

&lt;p&gt;Calculations are the heart of data analysis.Ever formula in excel must start with an equal sign &lt;code&gt;=&lt;/code&gt;. Here are the most common functions used to summarize data:&lt;br&gt;
*&lt;em&gt;Aggregate Function&lt;br&gt;
*&lt;/em&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;SUM&lt;/strong&gt;: Adds up all the numbers in a range(e.g., &lt;code&gt;=SUM(E2:E10&lt;/code&gt;)adds all salaries in those cells 
&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%2Fahw1g7zujht1sxuho1tr.jpg" alt=" " width="592" height="228"&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%2Fmexidkgoz222zfsbqg2n.jpg" 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%2Fmexidkgoz222zfsbqg2n.jpg" alt=" " width="484" height="208"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Average&lt;/strong&gt;: Find the middle value of a group of numbers. Example: &lt;br&gt;
Average salary of all employees: &lt;br&gt;
&lt;code&gt;=AVERAGE(E2:E877)&lt;/code&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;MIN/MAX:&lt;/strong&gt; Find the smallest or the largest number in your list. &lt;code&gt;=MIN(E2:E877)&lt;/code&gt; to look for the minimum salary.&lt;br&gt;
&lt;code&gt;=MAX(E2:E877)&lt;/code&gt; to look for maximum salary.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;Count&lt;/strong&gt;: Tells you how many cells actually contain a number. &lt;br&gt;
Count number of employees with a numeric salary: &lt;br&gt;
&lt;code&gt;=COUNT(E2:E877)&lt;/code&gt;&lt;/p&gt;
&lt;h1&gt;
  
  
  Conditional Math
&lt;/h1&gt;

&lt;p&gt;These are advanced beginner tools that only calculate if a rule is met &lt;br&gt;
&lt;strong&gt;SUMIFS&lt;/strong&gt; example &lt;br&gt;
Total Salary for Full-Time IT employees &lt;br&gt;
&lt;code&gt;SUMIF(D2:D876,"IT"&lt;/code&gt;&lt;br&gt;
&lt;strong&gt;COUNTIFS&lt;/strong&gt;  :Count employees who re both full-time and in IT &lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;h1&gt;
  
  
  Advanced Analysis and Logic
&lt;/h1&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;logic(IF/OR/AND)&lt;/strong&gt;- These functions act like a brain for your spreadsheet. For example,&lt;code&gt;=IF(score&amp;gt;7,"pass","fail"&lt;/code&gt; automatically grades your data&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Lookups (VLOOKUP/XLOOKUP/HLOOKUP)&lt;/strong&gt;- These act like a digital "search" tool. If you have an employee ID, you can use VLOOKUP to instantly find that person's name or salary from a massive list&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Date and Time&lt;/strong&gt;: Tools like &lt;code&gt;DateIf&lt;/code&gt; allows you to calculate exactly how many years an employee has been with the company or how many working days a task took.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;h1&gt;
  
  
  PIVOT TABLES
&lt;/h1&gt;

&lt;p&gt;PivotTables are one of the most powerful features in Excel. They allow you to summarize,  analyze, and explore large datasets like HR data without writing formulas. It summarizes large amounts of data by grouping, counting, summing,  or averaging values. &lt;/p&gt;

&lt;p&gt;Example: Total Salary by Department Question &lt;br&gt;
What is the total salary cost per department? &lt;br&gt;
Steps &lt;br&gt;
• Rows → Department &lt;br&gt;
• Values → Salary &lt;br&gt;
Excel defaults to SUM. &lt;br&gt;
Result &lt;br&gt;
Total payroll cost per department. &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%2F72jvks81ufh41inlad62.jpg" 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%2F72jvks81ufh41inlad62.jpg" alt=" " width="359" height="591"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;*&lt;em&gt;Pivot chart &lt;br&gt;
*&lt;/em&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%2F2stk5d1z5gv0boj07m3q.jpg" 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%2F2stk5d1z5gv0boj07m3q.jpg" alt=" " width="800" height="398"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h1&gt;
  
  
  Visualizing Data with Charts
&lt;/h1&gt;

&lt;p&gt;The final step is to turn your numbers into a picture so that they are easier to understand.&lt;br&gt;
A chart is a visual representation of data that helps users quickly see comparisons, trends, distributions and proportions.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Column charts&lt;/strong&gt;: Best for comparing different categories like "total sales by department"&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Pie chart&lt;/strong&gt;- Best for showing parts for a whole, such as the "Gender distribution" in an office.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;-** Line chart**- Best for showing trends &lt;/p&gt;

</description>
      <category>datascience</category>
      <category>data</category>
      <category>analytics</category>
      <category>beginners</category>
    </item>
    <item>
      <title>A BEGINNER'S GUIDE TO GIT</title>
      <dc:creator>Nashipae Ntung'ani</dc:creator>
      <pubDate>Sun, 18 Jan 2026 08:59:17 +0000</pubDate>
      <link>https://forem.com/nashipae_ntungani_8eae55/a-beginners-guide-to-git-325g</link>
      <guid>https://forem.com/nashipae_ntungani_8eae55/a-beginners-guide-to-git-325g</guid>
      <description>&lt;h1&gt;
  
  
  Introduction
&lt;/h1&gt;

&lt;p&gt;Git is a free, open source version control system that developers and analyst use for tracking changes,collaborating and managing project history efficiently, allowing them to work offline and merge their work seamlessly.&lt;/p&gt;

&lt;h1&gt;
  
  
  Getting started
&lt;/h1&gt;

&lt;p&gt;Before getting started with Git you’ll need to configure by setting your email and user name.&lt;br&gt;
This is important for version control system as each Git commit uses this information &lt;br&gt;
An example&lt;br&gt;
&lt;code&gt;git config --global user name "nashipae"&lt;/code&gt;&lt;br&gt;
&lt;code&gt;git config --global user. email "nashipaentungani@gmail.com&lt;/code&gt;&lt;/p&gt;
&lt;h1&gt;
  
  
  The Git work plan
&lt;/h1&gt;

&lt;p&gt;The life cycle of file has 3 stages. They include:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;Your working directory - This is where you are actively working on the file or editing&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Staging area-This is a loading dock for changes you want to save (almost final)&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;The repository-This is a permanent storage area for your project &lt;br&gt;
An example, GitHub, GitLab&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;h1&gt;
  
  
  Essential commands
&lt;/h1&gt;

&lt;p&gt;&lt;em&gt;Starting a project&lt;/em&gt;&lt;br&gt;
There are 2 ways to configure this &lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Initialize a new project &lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;code&gt;git init&lt;/code&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Clone an existing project
&lt;code&gt;git clone (github project)&lt;/code&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;h1&gt;
  
  
  Checking status and tracking changes
&lt;/h1&gt;

&lt;p&gt;Git allows you to check the status of a file&lt;/p&gt;

&lt;p&gt;&lt;code&gt;git status&lt;/code&gt;-see what has been changed in a file &lt;br&gt;
An example&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;git status 
on branch master 
no commits yet`
changes to be committed:`
use `git restore --staged ..."to unstage
`
new file: index.html 
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;code&gt;git diff&lt;/code&gt;- see detailed changes made to a file &lt;br&gt;
&lt;code&gt;git add (file name)&lt;/code&gt;-adding specific file to the staging area &lt;br&gt;
&lt;code&gt;git add&lt;/code&gt;.- adding all changes to your staging area&lt;/p&gt;

&lt;h1&gt;
  
  
  Saving your work
&lt;/h1&gt;

&lt;p&gt;To save changes on Git we use the command &lt;br&gt;
&lt;code&gt;git commit -m "commit message"&lt;/code&gt;&lt;br&gt;
To view history on commits for repository you can use the &lt;code&gt;git log&lt;/code&gt; command &lt;/p&gt;

&lt;h1&gt;
  
  
  Pushing your code
&lt;/h1&gt;

&lt;p&gt;To create a remote connection to github we use the command &lt;/p&gt;

&lt;p&gt;&lt;code&gt;git remote add origin "Github project"&lt;/code&gt;&lt;br&gt;
To push to a main branch, we use the command &lt;br&gt;
&lt;code&gt;git push origin main&lt;/code&gt;&lt;br&gt;
To push for the first time &lt;br&gt;
&lt;code&gt;git push -u origin main&lt;/code&gt;&lt;/p&gt;

&lt;h1&gt;
  
  
  Pulling code
&lt;/h1&gt;

&lt;p&gt;&lt;code&gt;git pull origin main&lt;/code&gt;&lt;/p&gt;

&lt;h1&gt;
  
  
  See what has changed
&lt;/h1&gt;

&lt;p&gt;Version control deals with understanding what changes have been made to a file &lt;br&gt;
For this you have to check the history of your commit &lt;br&gt;
&lt;code&gt;git log&lt;/code&gt;- see commit history&lt;br&gt;
&lt;code&gt;git log --oneline&lt;/code&gt; see compacted history &lt;br&gt;
&lt;code&gt;git blame(file name)&lt;/code&gt;find out who made changes &lt;br&gt;
&lt;code&gt;git diff (commit 1) (commit 2)&lt;/code&gt;- compare between commit &lt;br&gt;
If you made a mistake during staging you need to go back to your previous changes, we use the command &lt;/p&gt;

&lt;p&gt;&lt;code&gt;git rese HEAD*&lt;/code&gt;&lt;br&gt;
 We have 3 examples of this &lt;br&gt;
&lt;code&gt;git reset --soft (HEAD ~1)&lt;/code&gt;&lt;br&gt;
&lt;code&gt;git reset --hard (HEAD ~1)&lt;/code&gt;&lt;br&gt;
&lt;code&gt;git reset --mixed(HEAD ~1)&lt;/code&gt; &lt;/p&gt;

</description>
      <category>datascience</category>
      <category>programming</category>
      <category>code</category>
      <category>beginners</category>
    </item>
  </channel>
</rss>
