Getting Started with Git and GitHub

Scott Walker · May 14, 2019
Getting Started with Git and GitHub

Git is the industry-standard distributed version control system for developers. While it may feel unfamiliar at first—especially if you're coming from centralized systems like TFS or SVN—once you understand the fundamentals, Git becomes an incredibly powerful tool for managing and collaborating on code.

To begin, install Git from git-scm.com. GitHub, available at GitHub.com, provides free cloud-based hosting for your repositories, making it easy to collaborate, back up your work, and manage projects across teams.

Initial Setup Checklist

  • Create a GitHub account – Set up public or private repositories depending on your project needs.
  • Configure Git locally – Install Git, then set your username and email so commits are properly attributed.
  • Select an IDE – Tools like Visual Studio, VS Code, or JetBrains Rider provide built-in Git integration.

Pushing Existing Code to GitHub

If you already have a project on your machine, you can initialize it as a Git repository and push it to GitHub.


git init

Add a .gitignore file before your first commit. This prevents build artifacts, binaries, and temporary files from polluting your repository.


git add .
git commit -m "Initial commit"
git remote add origin https://github.com/<your-username>/<your-repo>.git
git push -u origin main

Branching and Collaboration

  • Team members can create feature branches and work independently.
  • Pull requests allow for code review before merging into main.
  • Feature branches can be deleted after merging to keep the repo clean.

Cloning a Specific Branch


git clone --single-branch --branch <branchname> https://github.com/<org>/<repo>.git

HoloLens 2 Development Edition

The convergence of intelligent cloud, intelligent edge, mixed reality, and AI is transforming how organizations operate—from manufacturing floors to medical environments and classrooms. These technologies enable immersive, data-rich experiences that move beyond traditional 2D computing.

Microsoft expanded the Mixed Reality Developer Program, engaging more than 20,000 developers globally through meetups, events, and hackathons such as Mixed Reality Dev Days.

What’s Included in the HoloLens 2 Development Edition

  • HoloLens 2 mixed reality device
  • $500 in Azure credits for exploring Azure Mixed Reality Services
  • 3-month trials of Unity Pro and the Unity PiXYZ Plugin

"Pairing HoloLens 2 with Unity’s real-time 3D platform enables industrial businesses to create immersive, interactive experiences that accelerate business and reduce costs." – Tim McDonough, GM of Industrial, Unity

To get started, join the Mixed Reality Developer Program or visit hololens.com for updates, toolkits, samples, and open-source projects.

IoT Plug and Play

Building IoT solutions at scale is challenging due to the diversity of devices—different operating systems, memory constraints, form factors, and capabilities. IoT Plug and Play addresses this by providing an open modeling language that allows devices to connect to the cloud without requiring embedded code changes.

This simplifies IoT adoption for enterprises and accelerates prototyping and deployment.

Cloud developers can now find IoT Plug and Play-enabled devices in the Azure IoT Device Catalog, including devices from Compal, Kyocera, and STMicroelectronics.

Partner Perspectives

"IoT Plug and Play underlines our commitment to providing a streamlined and optimized deployment path for customers using the Microsoft Azure platform." – Richard Brown, VP, VIA Technologies

"Thanks to Microsoft’s IoT Plug and Play, IoT device application development management will never be the same." – Robert Lin, CEO, Askey

"With IoT Plug and Play, we will partner with Microsoft to accelerate and simplify the integration and deployment of IoT devices." – Larry Geng, Chairman, Thundercomm

Explore more at Azure IoT and review the Building IoT Solutions with Azure: A Developer’s Guide.

These innovations represent only a portion of Microsoft’s ongoing investment in the intelligent edge. More advancements are on the way.

Git

Comments (0)

Please sign in to comment.