---
title: "Get started with Git and Markdown"
url: https://www.marlasowards.com/samples/contributor-guide/03-get-started-with-git-and-markdown
description: "Two ways to start editing a docs site: in the Azure DevOps online editor, or in VS Code with Git and Markdown."
author: Writing sample by Marla Sowards
---

> For an index of every page on this site, see [llms.txt](https://www.marlasowards.com/llms.txt).

> **Note:** I built this project for an enterprise SaaS company. However, what I've shared is genericized to mask proprietary information, including names of companies, products, features, and UI controls. Product images are mockups generated by Claude.

# Get started with Git and Markdown

> **Note**
>
> See [Get help](https://www.marlasowards.com/samples/contributor-guide/includes/51-get-help.md) if you get stuck.

**Jump to**

- [Option 1: Use the Azure DevOps online editor](https://www.marlasowards.com/samples/contributor-guide/03-get-started-with-git-and-markdown.md#option-1-use-the-azure-devops-online-editor)

  - [Prerequisites](https://www.marlasowards.com/samples/contributor-guide/03-get-started-with-git-and-markdown.md#prerequisites)

  - [Find the article](https://www.marlasowards.com/samples/contributor-guide/03-get-started-with-git-and-markdown.md#find-the-article)

    - [Option 1: From the docs site UI](https://www.marlasowards.com/samples/contributor-guide/03-get-started-with-git-and-markdown.md#option-1-from-the-docs-site-ui)
    - [Option 2: From inside Azure DevOps](https://www.marlasowards.com/samples/contributor-guide/03-get-started-with-git-and-markdown.md#option-2-from-inside-azure-devops)

  - [Change the doc](https://www.marlasowards.com/samples/contributor-guide/03-get-started-with-git-and-markdown.md#change-the-doc)

  - [Create a pull request](https://www.marlasowards.com/samples/contributor-guide/03-get-started-with-git-and-markdown.md#create-a-pull-request)

- [Option 2: Use VS Code](https://www.marlasowards.com/samples/contributor-guide/03-get-started-with-git-and-markdown.md#option-2-use-vs-code)

  - [Prerequisites](https://www.marlasowards.com/samples/contributor-guide/03-get-started-with-git-and-markdown.md#prerequisites-1)
    - [Clone the repo](https://www.marlasowards.com/samples/contributor-guide/03-get-started-with-git-and-markdown.md#clone-the-repo)
  - [Find the article](https://www.marlasowards.com/samples/contributor-guide/03-get-started-with-git-and-markdown.md#find-the-article-1)
  - [Create a new branch](https://www.marlasowards.com/samples/contributor-guide/03-get-started-with-git-and-markdown.md#create-a-new-branch)
  - [Change the doc](https://www.marlasowards.com/samples/contributor-guide/03-get-started-with-git-and-markdown.md#change-the-doc-1)
  - [Preview changes locally](https://www.marlasowards.com/samples/contributor-guide/03-get-started-with-git-and-markdown.md#preview-changes-locally)
  - [Commit and sync changes](https://www.marlasowards.com/samples/contributor-guide/03-get-started-with-git-and-markdown.md#commit-and-sync-changes)
  - [Create a pull request](https://www.marlasowards.com/samples/contributor-guide/03-get-started-with-git-and-markdown.md#create-a-pull-request-1)

## Option 1: Use the Azure DevOps online editor

### Prerequisites

- Write access in Azure DevOps to the repo with the docs

### Find the article

#### Option 1: From the docs site UI

Some sites on the Clearpath docs site have an **Edit this page** link at the bottom of each page. Click this link to go to the source page in Azure DevOps.

#### Option 2: From inside Azure DevOps

- Go to the directory in the repo with the docs.
- Navigate to the file to change.

### Change the doc

- Click **Edit**.
- Make your change.
- Click **Commit**.
- Enter in a description of what you changed.
- **Important!** Change the branch name.
- Check the **Create a pull request** box.

### Create a pull request

- Attach a work item. Some repos don't require you to attach a work item to a pull request.
- Add reviewers. Some repos don't require you to add reviewers to a pull request.
- Click **Create**.
- When the validation build completes successfully, click **Complete**. Pull requests in some repos don't require a validation build.

The Clearpath docs site updates automatically after a short period.

## Option 2: Use VS Code

You can use any Markdown editor. These steps apply to VS Code.

### Prerequisites

- Write access in Azure DevOps to the repo with the docs
- Git installed
- VS Code installed

#### Clone the repo

- Go to the repo in Azure DevOps online.
- At the top right of the page, click **Clone**.
- Copy the URL under the heading **Command line**.
- On your machine, open a command line tool in the directory you want to clone the repo.
- Type `git clone` and paste the repo's URL by right clicking in the command line. For example:

```git
git clone <repo-url>
```

### Find the article

- Open VS Code.
- Go to **File** > **Open folder**.
- Select the directory with the repo you just cloned.

### Create a new branch

- Click `master` or `main` in the bottom left of the window. Click **Create new branch.**
- Enter a name like `docs-changes` and press `Enter`.

### Change the doc

- Browse files in the **Explorer** pane.
- Click **Edit**, make your change, and save the file.

### Preview changes locally

- See [Set up a build pipeline](https://www.marlasowards.com/samples/contributor-guide/05-set-up-a-build-pipeline.md). The build's error output in the command line identifies broken links, missing anchors, etc.

### Commit and sync changes

- The **Source Control** pane shows files you changed, added, or removed. Add a commit message like `Added documentation on required ports`.
- Click **Commit**.
- Click **Sync changes**.

### Create a pull request

- Go to the repo online.
- Click **Branches** in the left pane.
- Attach a work item. Some repos don't require you to attach a work item to a pull request.
- Add reviewers. Some repos don't require you to add reviewers to a pull request.
- Click **Create**.
- When the validation build completes successfully, click **Complete**. Pull requests in some repos don't require a validation build.

The Clearpath docs site updates automatically after a short period.
