Working on Local Git Branches

Introduction

Almost all version control systems offer branching, and it is one of the most powerful features they provide.

In this article, we’ll explore the basics of Git branching and how to work with local branches — particularly useful when using an IDE like VS Code.

Continue reading “Working on Local Git Branches”

Git Basic Operations

Introduction

In the previous article, we discussed how to install and configure Git on your local system.

This article covers the most common day-to-day Git operations: initializing a Git repository, checking status, adding files, staging changes, and committing them — the essential building blocks for any Git workflow.

Continue reading “Git Basic Operations”

Install and Configure Git

Why install Git Bash on local system

Installing Git Bash is essential if you plan to work with any Git-based source code repositories. Here’s why:

  • Work with Git Repositories: Whether it’s Azure Repos, GitHub, GitLab, or Bitbucket – if you want to clone a repo, pull the latest code, or push your changes, Git must be installed locally.

  • Command Line Access: Git Bash gives you a Unix-style terminal on Windows, which is especially useful for running Git commands and shell scripts smoothly.

  • Tool Integration: You can integrate Git with popular IDEs like Visual Studio Code, IntelliJ IDEA, Eclipse, or even Android Studio, enabling built-in source control features right inside your development environment.

  • Script & Automation Friendly: Automate common tasks (like builds or deployment) using shell scripts directly from Git Bash.

  • Consistency Across Teams: Ensures a consistent Git experience, especially in teams using a mix of Windows, macOS, and Linux.

Continue reading “Install and Configure Git”