<?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: Max Njiru</title>
    <description>The latest articles on DEV Community by Max Njiru (@maxnjiru).</description>
    <link>https://dev.to/maxnjiru</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%2F4071729%2F678aada4-4df9-4d95-8ec7-9fa0b653469a.png</url>
      <title>DEV Community: Max Njiru</title>
      <link>https://dev.to/maxnjiru</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/maxnjiru"/>
    <language>en</language>
    <item>
      <title>WHAT IS DATA MODELLING IN POWER BI ?</title>
      <dc:creator>Max Njiru</dc:creator>
      <pubDate>Mon, 14 Sep 2026 01:10:48 +0000</pubDate>
      <link>https://dev.to/maxnjiru/what-is-data-modelling-in-power-bi--30lk</link>
      <guid>https://dev.to/maxnjiru/what-is-data-modelling-in-power-bi--30lk</guid>
      <description>&lt;h2&gt;
  
  
  Data Modelling
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Data modelling&lt;/strong&gt; in Power BI is the process of organizing data into tables and defining how those tables are connected so that Power BI can efficiently analyze and report on the data.&lt;br&gt;
&lt;em&gt;In a real world business environment, data is rarely stored in one perfect table. Instead, information is often distributed across several tables. For example, a retail company may have separate tables for&lt;/em&gt;:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Customers&lt;/li&gt;
&lt;li&gt; Products&lt;/li&gt;
&lt;li&gt; Sales Transactions&lt;/li&gt;
&lt;li&gt; Dates&lt;/li&gt;
&lt;li&gt; Locations&lt;/li&gt;
&lt;li&gt;  Employees &lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Data modelling determines how these tables should be organized and how they should communicate with each other.&lt;br&gt;
For example, a business may have a &lt;em&gt;FactSales&lt;/em&gt; table containing sales transactions and separate tables such as &lt;em&gt;DimCustomer&lt;/em&gt;, &lt;em&gt;DimProduct&lt;/em&gt;,_ DimDate_ and &lt;em&gt;DimLocation&lt;/em&gt;.&lt;br&gt;
&lt;strong&gt;Dim&lt;/strong&gt; simply means &lt;em&gt;Dimension&lt;/em&gt;&lt;br&gt;
  In Power BI, a dimension table is a table that gives descriptive information about the things you are analyzing&lt;br&gt;&lt;br&gt;
The purpose of the model is not simply to connect tables. The goal is to create a structure that allows Power BI to correctly answer business questions such as:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;How much did the company sell?&lt;/li&gt;
&lt;li&gt;Which products generated the highest revenue?&lt;/li&gt;
&lt;li&gt;Which customers purchased the most?&lt;/li&gt;
&lt;li&gt;Which month had the highest sales?&lt;/li&gt;
&lt;li&gt;Which location generated the highest profit?&lt;/li&gt;
&lt;li&gt;How has sales performance changed over time?
Therefore, &lt;strong&gt;data modelling&lt;/strong&gt; is the foundation that allows Power BI to turn separate pieces of raw data into one meaningful analytical system.&lt;/li&gt;
&lt;/ol&gt;

&lt;h3&gt;
  
  
  Why is a Well-Designed Data Model Important?
&lt;/h3&gt;

&lt;p&gt;A well designed data model is extremely important because it directly affects the accuracy, performance, usability, scalability, and maintainability of a Power BI report.&lt;br&gt;
A beautiful dashboard cannot compensate for a poorly designed data model. If the underlying tables and relationships are incorrect, visualizations may display incorrect numbers even if the charts look professional.&lt;/p&gt;

&lt;h3&gt;
  
  
  Importance for Reporting
&lt;/h3&gt;

&lt;p&gt;The purpose of Power BI is to create report that helps organizations understand their businesses. A well designed data make it possible to combine information from different tables without manually putting everything in one table&lt;br&gt;
suppose a company wants to create a report showing:&lt;br&gt;
&lt;strong&gt;Total Sales by Product Category and Month&lt;/strong&gt;&lt;br&gt;
The sales amount maybe stored in:&lt;br&gt;
&lt;em&gt;factsales&lt;/em&gt;&lt;br&gt;
while the product category is stored in:&lt;br&gt;
&lt;em&gt;Dimproduct&lt;/em&gt;&lt;br&gt;
and the month is stored in:&lt;br&gt;
&lt;em&gt;Dimdate&lt;/em&gt;&lt;br&gt;
The relationship between these tables allows Power BI to bring the information together.&lt;br&gt;
Without a proper model, the analyst may have to manually combine data before every analysis.&lt;br&gt;
Therefore:&lt;br&gt;
A good data model makes reporting easier because users can select fields from different tables and analyze them together.&lt;/p&gt;

&lt;h3&gt;
  
  
  Importance for Analytics
&lt;/h3&gt;

&lt;p&gt;Data modelling is also important for deeper business analysis.&lt;br&gt;
Businesses often need to analyze relationships between different areas of their operations.&lt;/p&gt;

&lt;h3&gt;
  
  
  Importance for DAX Calculations
&lt;/h3&gt;

&lt;p&gt;DAX is the formula language used in Power BI to create measures, calculated columns, and other calculations.&lt;br&gt;
For example:&lt;br&gt;
Total sales =Sum(FactSales{Sales Amount})&lt;br&gt;
This simple measure calculates the total sales stored in the fact table.&lt;br&gt;
However, the real power comes when the measure is used with dimension tables.&lt;br&gt;
A good data model makes DAX calculations more reliable, reusable, and easier to understand.&lt;br&gt;
A poorly designed model can result in:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Incorrect totals&lt;/li&gt;
&lt;li&gt;Unexpected filter behavior&lt;/li&gt;
&lt;li&gt;Complicated DAX formulas&lt;/li&gt;
&lt;li&gt;Duplicate calculations&lt;/li&gt;
&lt;li&gt;Ambiguous relationships&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Importance for Performance
&lt;/h3&gt;

&lt;p&gt;Data modelling also has a major effect on Power BI performance.&lt;br&gt;
Performance refers to how quickly Power BI can:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Load data&lt;/li&gt;
&lt;li&gt;Refresh data&lt;/li&gt;
&lt;li&gt;Calculate measures&lt;/li&gt;
&lt;li&gt;Apply filters&lt;/li&gt;
&lt;li&gt;Generate visualizations&lt;/li&gt;
&lt;li&gt;Respond to user interactions&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Importance of scalability
&lt;/h3&gt;

&lt;p&gt;Scalability means the ability of a data model to grow without requiring a complete redesign.&lt;br&gt;
A business may start with:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Sales&lt;/li&gt;
&lt;li&gt;Customers&lt;/li&gt;
&lt;li&gt;Products
Later, it may want to add:
Dates&lt;/li&gt;
&lt;li&gt;Locations&lt;/li&gt;
&lt;li&gt;Employees&lt;/li&gt;
&lt;li&gt;Suppliers&lt;/li&gt;
&lt;li&gt;Promotions&lt;/li&gt;
&lt;li&gt;Sales Channels&lt;/li&gt;
&lt;/ol&gt;

&lt;h3&gt;
  
  
  Importance of Maintainability
&lt;/h3&gt;

&lt;p&gt;Maintainability refers to how easy it is to understand, update, troubleshoot, and modify a data model over time.&lt;br&gt;
A Power BI report is rarely created once and never changed. Businesses continuously introduce:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;New products&lt;/li&gt;
&lt;li&gt;New customers&lt;/li&gt;
&lt;li&gt;New locations&lt;/li&gt;
&lt;li&gt;New transactions&lt;/li&gt;
&lt;li&gt;New business rules&lt;/li&gt;
&lt;li&gt;New reporting requirements
A clear model makes these changes easier to manage.
For example:
DimCustomer- DimProduct- DimDate- DimLocation- FactSales
A developer can quickly understand what each table represents.
If a problem occurs with customer information, the developer knows where to look:
DimCustomer
If there is an issue with sales transactions:
FactSales
If there is a problem with dates:
DimDate
This is much easier than trying to find an error inside one enormous table containing hundreds of columns.
Therefore:
A well organized model reduces maintenance effort and makes it easier for different developers or analysts to work on the same Power BI solution.&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Importance for Data Accuracy
&lt;/h3&gt;

&lt;p&gt;Data modelling is also important for ensuring that reports produce correct results.&lt;br&gt;
Relationships determine how filters move between tables.&lt;/p&gt;

&lt;h3&gt;
  
  
  Importance for Reducing Data Redundancy
&lt;/h3&gt;

&lt;p&gt;Data redundancy means storing the same information repeatedly when it does not need to be repeated.&lt;br&gt;
For example, imagine 10,000 sales records where the product category &lt;em&gt;Electronics&lt;/em&gt; is repeated in every row.&lt;br&gt;
Instead of storing the same descriptive information repeatedly, a dimensional model can store it once in DimProduct&lt;/p&gt;

&lt;h3&gt;
  
  
  Importance of Business Decision Making
&lt;/h3&gt;

&lt;p&gt;Ultimately, the purpose of data modelling is to support better business decisions.&lt;br&gt;
A well designed model allows managers and analysts to move from raw data to useful information.&lt;br&gt;
E.g;&lt;br&gt;
Raw Data-Data Modelling-Relationships-DAX calculations-Power BI Reports-Business Insights-Better Decisions&lt;br&gt;
A company can use these insights to determine:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Which products should be promoted?&lt;/li&gt;
&lt;li&gt;Which locations are underperforming?&lt;/li&gt;
&lt;li&gt;Which customers generate the most revenue?&lt;/li&gt;
&lt;li&gt;Which months have the highest demand?&lt;/li&gt;
&lt;li&gt;Where should inventory be increased?&lt;/li&gt;
&lt;li&gt;Which products are producing low profits?
Therefore, data modelling is a critical foundation for turning data into actionable business intelligence.&lt;/li&gt;
&lt;/ul&gt;

&lt;h4&gt;
  
  
  Summary
&lt;/h4&gt;

&lt;p&gt;Data modelling in Power BI is the process of organizing tables, defining relationships, and creating a logical structure that allows data to be analyzed effectively.The key principle is that a Power BI report is only as strong as the data model underneath it. A well designed model creates a reliable foundation for relationships, &lt;strong&gt;DAX calculations&lt;/strong&gt;, &lt;strong&gt;visualizations&lt;/strong&gt;, &lt;strong&gt;analytics&lt;/strong&gt;, and future expansion. &lt;/p&gt;

</description>
      <category>database</category>
      <category>ai</category>
      <category>powerfuldevs</category>
      <category>beginners</category>
    </item>
    <item>
      <title>GETTING STARTED WITH EXCEL</title>
      <dc:creator>Max Njiru</dc:creator>
      <pubDate>Sun, 30 Aug 2026 05:54:33 +0000</pubDate>
      <link>https://dev.to/maxnjiru/getting-started-with-excel-3pk4</link>
      <guid>https://dev.to/maxnjiru/getting-started-with-excel-3pk4</guid>
      <description>&lt;h2&gt;
  
  
  Introduction
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Microsoft Excel&lt;/strong&gt; is a spreadsheet tool that organizes data into &lt;em&gt;rows&lt;/em&gt; and &lt;em&gt;columns&lt;/em&gt;. Excel is useful in data cleaning, filtering and analysis.&lt;br&gt;
In this article, we will start from basic excel capabilities and gradually build up to advanced data cleaning.&lt;/p&gt;

&lt;h2&gt;
  
  
  Core Concepts of Excel
&lt;/h2&gt;

&lt;h3&gt;
  
  
  Ribbon in Excel
&lt;/h3&gt;

&lt;p&gt;&lt;strong&gt;Ribbon&lt;/strong&gt; is the menu bar you see at the top of Excel sheet&lt;br&gt;
It contains different &lt;em&gt;tools&lt;/em&gt; and &lt;em&gt;commands&lt;/em&gt; that help you work with your work&lt;/p&gt;

&lt;p&gt;1.&lt;strong&gt;Home&lt;/strong&gt; — basic formatting, alignment, number formats, and editing tools.&lt;br&gt;
2.&lt;strong&gt;Insert&lt;/strong&gt; — used to insert tables, PivotTables, charts, and other visual elements.&lt;br&gt;
3.&lt;strong&gt;Page Layout **— controls how worksheets are arranged and displayed when printed.&lt;br&gt;
4.&lt;/strong&gt;Formulas **— provides access to Excel functions and formula-related tools.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Data **— used for data analytics. It contains tools for sorting, filtering, removing duplicates, data validation, and other data management activities.
6.&lt;/strong&gt;Review &lt;strong&gt;— includes tools for reviewing, commenting, and protecting worksheets.
7.&lt;/strong&gt;View **— controls how the workbook and worksheets are displayed.&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.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F1l4toxy7sw6kxro96r9h.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.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F1l4toxy7sw6kxro96r9h.png" alt=" " width="800" height="72"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  Rows,Columns,Cells
&lt;/h3&gt;

&lt;p&gt;&lt;strong&gt;Rows&lt;/strong&gt;- runs horizontally across the worksheet and are usually represented by numbers.&lt;br&gt;
&lt;strong&gt;Columns&lt;/strong&gt; - runs vertically across the worksheet and are represented by letters&lt;br&gt;
&lt;strong&gt;Cell&lt;/strong&gt; - Formed when a row and a column meet e.g D7&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.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fxoy9ym5x6sko9togckcf.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.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fxoy9ym5x6sko9togckcf.png" alt=" " width="800" height="352"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  Data Types
&lt;/h3&gt;

&lt;p&gt;A &lt;strong&gt;data type&lt;/strong&gt; is basically the different information contained in a cell. It can take different forms e.g Text, Numbers, Currency, Percentage&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.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fdec2x7981b9xsb408ljd.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.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fdec2x7981b9xsb408ljd.png" alt=" " width="783" height="766"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  Data Cleaning
&lt;/h3&gt;

&lt;p&gt;I learnt some basic data cleaning techniques such as;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Removing duplicates&lt;/li&gt;
&lt;li&gt;Handling missing values&lt;/li&gt;
&lt;li&gt;Removing extra spaces with_ &lt;em&gt;TRIM()&lt;/em&gt;
&lt;em&gt;4. Standardizing text with&lt;/em&gt; UPPER()&lt;em&gt;, _LOWER()&lt;/em&gt;,&lt;em&gt;PROPER()&lt;/em&gt;
&lt;/li&gt;
&lt;li&gt;Fixing inconsistent dates&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.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F3cibei1poavm9fpah1o1.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.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F3cibei1poavm9fpah1o1.png" alt=" " width="800" height="338"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  Raw Uncleaned data
&lt;/h3&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.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F7ro44e7bz37wlec1afbb.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.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F7ro44e7bz37wlec1afbb.png" alt=" " width="800" height="370"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  Cleaned data
&lt;/h3&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.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fbeqg5cwvc7oe2wqcn9xi.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.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fbeqg5cwvc7oe2wqcn9xi.png" alt=" " width="799" height="353"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h4&gt;
  
  
  Data Validation
&lt;/h4&gt;

&lt;p&gt;The restrictions on the type of data user can input into a cell. (Dropdown lists, Numbers , ranges, date limits, text length)&lt;/p&gt;

&lt;h4&gt;
  
  
  Data Cleaning And Formatting
&lt;/h4&gt;

&lt;p&gt;Removing duplicates: Prevents inflated results in analysis.&lt;br&gt;
&lt;strong&gt;Mombasa&lt;br&gt;
Mombasa&lt;/strong&gt;&lt;br&gt;
Standardizing text this ensures consistency&lt;br&gt;
&lt;strong&gt;NAIROBI&lt;br&gt;
NairoBi&lt;/strong&gt;&lt;br&gt;
checking dates: corrects inconsistent format and invalid entries, fixing words format:&lt;br&gt;
use &lt;em&gt;PROPER()&lt;/em&gt; to standardize capitalization in names.&lt;/p&gt;

&lt;h4&gt;
  
  
  Conclusion
&lt;/h4&gt;

&lt;p&gt;In conclusion data cleaning in excel is more the a technical step, it is the foundation of reliable analysis. This is a effective data cleaning turns Excel from a simple spreadsheet tool into a powerful engine for analytics.&lt;/p&gt;

</description>
      <category>beginners</category>
      <category>database</category>
      <category>opensource</category>
      <category>machinelearning</category>
    </item>
    <item>
      <title>GIT WORKFLOW</title>
      <dc:creator>Max Njiru</dc:creator>
      <pubDate>Mon, 24 Aug 2026 18:04:18 +0000</pubDate>
      <link>https://dev.to/maxnjiru/git-workflow-5119</link>
      <guid>https://dev.to/maxnjiru/git-workflow-5119</guid>
      <description>&lt;p&gt;During my practical sessions at Luxdev HQ, I started working with Git and GitHub as part of my development workflow. At first, some of the commands seemed to do almost the same thing, especially git add, git commit, and git push. With practice, I started understanding that each command represents a different stage of the workflow&lt;br&gt;
In this article, I will explain each stage using a simple Python project and some of the commands I have been practicing.&lt;/p&gt;

&lt;h2&gt;
  
  
  1. Starting With a Simple Project
&lt;/h2&gt;

&lt;p&gt;For this example, imagine that I am working on a small Python calculator project.&lt;/p&gt;

&lt;p&gt;My project folder might look like this:&lt;br&gt;
mycalculator/&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt; calculator.py&lt;/li&gt;
&lt;li&gt; README.md&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Inside calculator.py, I could start with something very simple&lt;/p&gt;

&lt;p&gt;&lt;code&gt;print("Welcome to my calculator")&lt;/code&gt;&lt;br&gt;
At this point, I am just working normally on my computer. I can open the file in VS Code, change the code, save it, and continue working.&lt;/p&gt;

&lt;p&gt;This is where the working directory comes in&lt;/p&gt;

&lt;h2&gt;
  
  
  2. Understanding the Working Directory
&lt;/h2&gt;

&lt;p&gt;`The working directory is basically the project folder where I am doing my actual work.&lt;/p&gt;

&lt;p&gt;If I create a new file, edit an existing file, or delete a file, those changes happen in my working directory.&lt;/p&gt;

&lt;p&gt;&lt;code&gt;print("Welcome to my Python calculator")&lt;/code&gt;&lt;br&gt;
I have changed the file, but I have not yet told Git that I want to record this change.&lt;/p&gt;

&lt;p&gt;This is where I found &lt;strong&gt;&lt;em&gt;git status&lt;/em&gt;&lt;/strong&gt; very useful.&lt;br&gt;
I started thinking of git status as my what is going on? command.&lt;/p&gt;

&lt;p&gt;Whenever I am not sure what Git knows about my project, I can run &lt;strong&gt;git status&lt;/strong&gt; and see which files have been changed, which files are untracked, and which changes are staged.&lt;/p&gt;

&lt;h2&gt;
  
  
  3. Understanding Untracked and Modified Files
&lt;/h2&gt;

&lt;p&gt;One thing a beginner can easily find confusing is the difference between an untracked file and a modified file.&lt;/p&gt;

&lt;p&gt;Suppose I create a new file called:&lt;br&gt;
&lt;code&gt;hello.py&lt;/code&gt;&lt;br&gt;
Git may show it as an untracked file&lt;br&gt;
On the other hand, if Git already knows about &lt;code&gt;calculator.py&lt;/code&gt; and I change something inside it, Git can tell me that the file has been modified.&lt;br&gt;
So I can think about it like this:&lt;br&gt;
Untracked&lt;br&gt;
→ Git has not started tracking this file.&lt;/p&gt;

&lt;p&gt;Modified&lt;br&gt;
→ Git already knows the file, but I have changed it.&lt;/p&gt;

&lt;h2&gt;
  
  
  4. The Staging Area
&lt;/h2&gt;

&lt;p&gt;This was one of the parts I had to think about the most when learning Git.&lt;/p&gt;

&lt;p&gt;At first, I wondered:&lt;/p&gt;

&lt;p&gt;If I have already changed my file, why do I need to add it?&lt;/p&gt;

&lt;p&gt;I eventually understood that Git gives me a staging area where I can select the changes that I want to include in my next commit.&lt;/p&gt;

&lt;p&gt;For example:&lt;br&gt;
&lt;code&gt;git add calculator.py&lt;/code&gt;&lt;br&gt;
This tells Git that I want the changes in &lt;code&gt;calculator.py &lt;/code&gt;to be included in my next commit.&lt;/p&gt;

&lt;p&gt;The important thing I learned is that git add does not upload the file to GitHub.&lt;/p&gt;

&lt;h3&gt;
  
  
  11. The Difference Between Commit and Push
&lt;/h3&gt;

&lt;p&gt;It simply moves the change from my working directory into the staging area.&lt;/p&gt;

&lt;h2&gt;
  
  
  5. Creating a Commit
&lt;/h2&gt;

&lt;p&gt;Once I am satisfied with the changes I have staged, I can create a commit.&lt;br&gt;
&lt;code&gt;git commit -m "Update calculator message"&lt;/code&gt;&lt;/p&gt;

</description>
      <category>github</category>
      <category>git</category>
      <category>tutorial</category>
    </item>
  </channel>
</rss>
