Application Development and Automation Blog Posts
Learn and share on deeper, cross technology development topics such as integration and connectivity, automation, cloud extensibility, developing at scale, and security.
cancel
Showing results for 
Search instead for 
Did you mean: 
SugandhaSachdeva
Associate
Associate
245

Working in a corporate environment often means using private repositories hosted on GitHub Enterprise. If you're on a Mac and prefer the Terminal, here’s a simple step-by-step guide to clone the repo and get started with VS Code.

Prerequisites

  • Homebrew installed
  • Git installed - or run the following command from terminal
brew install git​
  • Visual Studio Code installed
  • Access to your company’s GitHub (e.g., GitHub Enterprise or another corporate Git)
  • Make sure you have a personal access token; if not, generate a new one

SugandhaSachdeva_1-1751625219727.png

 

  • UV installed: UV is a Python package/dependency manager; install it using
brew install uv​

Steps

1. Verify Git is installed

which git
git --version​

2. Install GitHub Repositories Extension in VS Code

3. Clone the Repository via Terminal

git clone https://github.company.com/your-team/your-repo.git​


If prompted, enter your GitHub username and your Personal Access Token instead of a password.

4. Change into the Cloned Directory

cd your-repo​

5. Open the Folder in VS Code

code .


If code is not recognized, open VS Code → Cmd + Shift + P → “Shell Command: Install 'code' command in PATH”.

6. Install Python Extensions in VS Code

If you're working on a Python project, consider installing the following VS Code extensions:

  • Python
  • Jupyter
  • Black Formatter

7. Install Python Project Dependencies with uv


In the VS Code terminal:

uv sync