Git Status and Git Log: Beginner’s Guide to Tracking Changes in Git Projects

Git Status vs Git Log
Git Status vs Git Log

Live stream set for 2025-08-01 at 14:00:00 Eastern

Ask questions in the live chat about any programming or lifestyle topic.

This livestream will be on YouTube or you can watch below.

Git is a free and open-source distributed version control system used by developers worldwide. Whether you're working solo or collaborating with a team, Git helps you track changes in your project over time.

Two essential Git commands for monitoring your project's history and current state are git status and git log. In this post, we'll explain what they do, show a basic example, and guide you through using them effectively.

📌 What Is git status?

The git status command shows the current state of your working directory and staging area. It tells you:

  • Which changes have been staged
  • Which changes haven’t been staged
  • Which files aren’t being tracked by Git
git status

This is usually the first command you run to check what's happening before you commit.

📌 What Is git log?

The git log command shows the commit history for your repository. It helps you see what changes were made, who made them, and when.

git log

You'll see output like this:

commit 1a2b3c4d5e6f7890
Author: Your Name <your@email.com>
Date:   Tue Jul 23 14:00 2025

    Added README and updated index.html

You can scroll through the commit history and even use filters to find specific changes.

💡 Example: Using Both Commands Together

Let's say you've edited a file in your project but haven't committed yet. Try this:

# Check the current status
git status

# Add the file to staging
git add filename.html

# Check the status again
git status

# Commit your changes
git commit -m "Updated filename.html with new layout"

# View the commit history
git log

These simple steps help you stay in control of your project’s history.

📷 Screenshots & Live Demo Screencast

Git Status In Project Folder
Command Line Git Status To Display Current State In Project Folder

Git Log Project Files
Terminal Showing Git Log Displaying Commit History Of Project Files

Git Status After Updating Project Files
Terminal Showing Git Status After Modifying Project Files

Git Status After Adding Single File
Terminal Showing Git Status After Adding A Single File

Git Log After Committing Changes
Terminal Showing Git Log For Committed Files

Screencast Of Git Status And Git Log Commands

🤝 Need Help With Git?

Whether you're just getting started or need help installing, updating, or migrating Git projects, I'm available for:

  • One-on-one programming tutorials
  • Custom Git installs and migrations
  • Fixing broken Git setups

Contact Me Here

Want more Git tips like this? Leave a comment below or share this post with others learning version control!

About Edward

Edward is a software engineer, web developer, and author dedicated to helping people achieve their personal and professional goals through actionable advice and real-world tools.

As the author of impactful books including Learning JavaScript, Learning Python, Learning PHP, Mastering Blender Python API, and fiction The Algorithmic Serpent, Edward writes with a focus on personal growth, entrepreneurship, and practical success strategies. His work is designed to guide, motivate, and empower.

In addition to writing, Edward offers professional "full-stack development," "database design," "1-on-1 tutoring," "consulting sessions,", tailored to help you take the next step. Whether you are launching a business, developing a brand, or leveling up your mindset, Edward will be there to support you.

Edward also offers online courses designed to deepen your learning and accelerate your progress. Explore the programming on languages like JavaScript, Python and PHP to find the perfect fit for your journey.

📚 Explore His Books – Visit the Book Shop to grab your copies today.
💼 Need Support? – Learn more about Services and the ways to benefit from his expertise.
🎓 Ready to Learn? – Check out his Online Courses to turn your ideas into results.

Leave a Reply

Your email address will not be published. Required fields are marked *