Git API

Use these APIs to work with Git repositories in Visual Studio Team Services (VSTS). Repositories contain objects representing core Git concepts:

  • blobs (files)
  • trees (folders)
  • commits
  • refs (branches, lightweight tags)

and other resources that represent the history of those items or act on their state.

There are code samples available for this area.

Common tasks