> For the complete documentation index, see [llms.txt](https://developer.harness.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://developer.harness.io/university/readme/cr.md).

# Code Repository

Learn Code Repository through Harness University

Securely host Git repositories and collaborate with advanced access controls and governance.

Go to [Harness University](/university/readme.md) for the full catalogue of courses and certifications.

## Self-Paced Training

Free self-paced courses that you can consume on your own time.

<table data-view="cards"><thead><tr><th></th><th></th><th data-hidden data-card-target data-type="content-ref"></th></tr></thead><tbody><tr><td><img src="https://2307127582-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Feh03Q8VHpO02MFM5nUSL%2Fuploads%2Fgit-blob-8d9330b11e4adb2c19a6b64b4a75262530fb0ef8%2Fplatform.svg?alt=media" alt="" data-size="line"> <strong>Harness Platform Fundamentals</strong></td><td>Self-paced video course introducing the Harness Platform.<br><em>Product version: Free Plans of any module</em></td><td><a href="https://university-registration.harness.io/self-paced-training-platform-fundamentals">https://university-registration.harness.io/self-paced-training-platform-fundamentals</a></td></tr><tr><td><img src="https://2307127582-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Feh03Q8VHpO02MFM5nUSL%2Fuploads%2Fgit-blob-8d9330b11e4adb2c19a6b64b4a75262530fb0ef8%2Fplatform.svg?alt=media" alt="" data-size="line"> <strong>Introduction to AI Agents</strong></td><td>Self-paced tidbit introducing the Custom AI Agents.<br><em>Product version: Paid Plans of any module</em></td><td><a href="https://university-registration.harness.io/self-paced-training-tidbit-custom-ai-agents">https://university-registration.harness.io/self-paced-training-tidbit-custom-ai-agents</a></td></tr><tr><td><img src="https://2307127582-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Feh03Q8VHpO02MFM5nUSL%2Fuploads%2Fgit-blob-bef03d33b9a8d0ea4fb27094140b37a1e8830c29%2Fcode.svg?alt=media" alt="" data-size="line"> <strong>Code Repository</strong></td><td>Self-paced video course introducing Harness Code Repository.<br><em>Product version: Harness Paid Plans</em></td><td><a href="https://university-registration.harness.io/self-paced-training-harness-code-repository">https://university-registration.harness.io/self-paced-training-harness-code-repository</a></td></tr></tbody></table>

## Instructor-Led Training

Intensive two-day courses are designed for engineers looking to deepen their understanding and expertise in Harness.

<table data-view="cards"><thead><tr><th></th><th></th><th data-hidden data-card-target data-type="content-ref"></th></tr></thead><tbody><tr><td><img src="https://2307127582-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Feh03Q8VHpO02MFM5nUSL%2Fuploads%2Fgit-blob-8d9330b11e4adb2c19a6b64b4a75262530fb0ef8%2Fplatform.svg?alt=media" alt="" data-size="line"> <strong>Introduction to the Harness Platform</strong></td><td>Self-paced hands-on, prerequisite course to all module-specific ILT courses.<br><em>Product version: Paid Plans of any module</em></td><td><a href="https://university-registration.harness.io/introduction-to-the-harness-platform">https://university-registration.harness.io/introduction-to-the-harness-platform</a></td></tr><tr><td><img src="https://2307127582-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Feh03Q8VHpO02MFM5nUSL%2Fuploads%2Fgit-blob-bef03d33b9a8d0ea4fb27094140b37a1e8830c29%2Fcode.svg?alt=media" alt="" data-size="line"> <strong>Code Repository</strong></td><td>Deep dive into software configuration management and concepts.<br><em>Product version: Harness Paid Plans</em></td><td><a href="https://university-registration.harness.io/ilt-harness-code-repository">https://university-registration.harness.io/ilt-harness-code-repository</a></td></tr></tbody></table>

## Certifications

Test and validate your knowledge of Harness by becoming a Harness Certified Expert.

{% tabs %}
{% tab title="For Developer" %}

### Code Repository - Developer

![Code Repository - Developer badge](https://2307127582-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Feh03Q8VHpO02MFM5nUSL%2Fuploads%2Fgit-blob-003a2a47f93a0482d2c0e30802c32dcbe7c67e58%2Fcert-dev-cr-badge.svg?alt=media)

**Product version:** Harness Free Plans

Assesses the fundamental skills to manage your applications with CR projects.

#### Review Study Guide

| Topic                                                                       | Material                                                                                                                                                |
| --------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **1. Understand Harness Code Repository Fundamentals**                      |                                                                                                                                                         |
| Describe the purpose and benefits of Harness Code Repository                | [Overview](https://developer.harness.io/docs/code-repository/get-started/overview)                                                                      |
| Identify key concepts such as semantic search, branch rules, and security   | [Key Concepts](https://developer.harness.io/docs/code-repository/get-started/key-concepts)                                                              |
| Understand Harness subscriptions and licensing                              | [Subscription Management](https://developer.harness.io/docs/code-repository/get-started/cr-subscription-mgmt)                                           |
| **2. Onboard and Navigate the Interface**                                   |                                                                                                                                                         |
| Follow the onboarding guide for accessing and configuring Harness Code Repo | [Onboarding Guide](https://developer.harness.io/docs/code-repository/get-started/onboarding-guide)                                                      |
| Navigate the UI: repositories list, settings, search features               | [UI Navigation](https://developer.harness.io/docs/code-repository/get-started/onboarding-guide#learn-key-concepts)                                      |
| Interpret repository metadata (branches, tags, labels)                      | [Repository Metadata](https://developer.harness.io/docs/code-repository/config-repos/create-repo)                                                       |
| **3. Create and Manage Repositories**                                       |                                                                                                                                                         |
| Create new repositories from scratch                                        | [Create Repositories](https://developer.harness.io/docs/code-repository/config-repos/create-repo)                                                       |
| Import existing or mirror external repositories                             | [Import Repositories](https://developer.harness.io/docs/code-repository/config-repos/import-repo)                                                       |
| Delete or deprecate repositories                                            | [Delete Repositories](https://developer.harness.io/docs/code-repository/config-repos/delete-repo)                                                       |
| **4. Configure Repository Settings**                                        |                                                                                                                                                         |
| Enable branch protection rules                                              | [Branch Protection Rules](https://developer.harness.io/docs/code-repository/config-repos/rules)                                                         |
| Configure security settings and access controls                             | [Security Settings](https://developer.harness.io/docs/code-repository/config-repos/security)                                                            |
| Set up webhooks for CI/CD or external integrations                          | [Webhooks](https://developer.harness.io/docs/code-repository/config-repos/webhooks)                                                                     |
| **5. Collaborate Through Git-Based Workflows**                              |                                                                                                                                                         |
| Clone repositories                                                          | [Clone Repositories](https://developer.harness.io/docs/code-repository/work-in-repos/clone-repos)                                                       |
| Create, checkout, and manage branches                                       | [Manage Branches](https://developer.harness.io/docs/code-repository/work-in-repos/branch)                                                               |
| Commit code changes and tag versions                                        | [Commit & Tag Code](https://developer.harness.io/docs/code-repository/work-in-repos/commit)                                                             |
| **6. Enhance Workflow with Labels and Search**                              |                                                                                                                                                         |
| Use labels and tags to organize code and PRs                                | [Labels & Tags](https://developer.harness.io/docs/code-repository/work-in-repos/labels)                                                                 |
| Perform keyword-based and semantic searches                                 | [Keyword Search](https://developer.harness.io/docs/code-repository/work-in-repos/keyword-search)                                                        |
| Use advanced filters to streamline navigation                               | [Keyword Search](https://developer.harness.io/docs/code-repository/work-in-repos/keyword-search)                                                        |
| **7. Manage and Review Pull Requests**                                      |                                                                                                                                                         |
| Create PRs for code contributions                                           | [Create PRs](https://developer.harness.io/docs/code-repository/pull-requests/create-pr)                                                                 |
| Review and approve PRs with comments                                        | [Review PRs](https://developer.harness.io/docs/code-repository/pull-requests/review-pr)                                                                 |
| Merge PRs and resolve conflicts                                             | [Merge PRs](https://developer.harness.io/docs/code-repository/pull-requests/merge-pr)                                                                   |
| **8. Integrate with Harness Pipelines**                                     |                                                                                                                                                         |
| Set a default codebase for pipeline execution                               | [Default Codebase](https://developer.harness.io/docs/code-repository/pipelines/codebase-from-harness-code)                                              |
| Create triggers for pipeline runs based on code activity                    | [Triggers](https://developer.harness.io/docs/code-repository/pipelines/code-triggers)                                                                   |
| Run and monitor pipeline executions                                         | [Monitor Executions](https://developer.harness.io/docs/code-repository/pipelines/code-triggers#permissions-required-for-creating-and-updating-triggers) |
| **9. Leverage AI for Developer Productivity**                               |                                                                                                                                                         |
| Generate PR summaries with Harness AI                                       | [AI PR Summaries](https://developer.harness.io/docs/code-repository/pull-requests/code-pr)                                                              |
| Use AI-generated insights to support code reviews                           | [AI Code Review Support](https://developer.harness.io/docs/code-repository/pull-requests/code-pr)                                                       |
| Identify use cases for AI in code and pipeline automation                   | [AI Use Cases](https://developer.harness.io/docs/code-repository/pull-requests/code-pr#generate-pr-summary-with-harness-ai)                             |

[**Register for Exam**](https://university-registration.harness.io/code-repository-developer)

#### Exam Details

The Code Repository Developer exam tests your knowledge and skills of the Harness Code Repository module.

**Prerequisites**

* Basic terminal skills
* Basic understanding of on premise or cloud architecture

**Exam Details**

Exam Duration: 90 minutes

Question Type: Multiple choice

| Covered Domain                                  | Percentage |
| ----------------------------------------------- | ---------- |
| Understand Harness Code Repository Fundamentals | 10%        |
| Onboard and Navigate the Interface              | 15%        |
| Create and Manage Repositories                  | 10%        |
| Configure Repository Settings                   | 15%        |
| Collaborate Through Git-Based Workflows         | 20%        |
| Enhance Workflow with Labels and Search         | 10%        |
| Manage and Review Pull Requests                 | 10%        |
| Integrate with Harness Pipelines                | 5%         |
| Leverage AI for Developer Productivity          | 5%         |

**Exam Objectives**

<details>

<summary>List of Objectives</summary>

The following is a detailed list of exam objectives:

| #   | Objectives                                                                  |
| --- | --------------------------------------------------------------------------- |
| 1   | **Understand Harness Code Repository Fundamentals**                         |
| 1.1 | Describe the purpose and benefits of Harness Code Repository                |
| 1.2 | Identify key concepts such as semantic search, branch rules, and security   |
| 1.3 | Understand Harness subscriptions and licensing                              |
| 2   | **Onboard and Navigate the Interface**                                      |
| 2.1 | Follow the onboarding guide for accessing and configuring Harness Code Repo |
| 2.2 | Navigate the UI: repositories list, settings, search features               |
| 2.3 | Interpret repository metadata (branches, tags, labels)                      |
| 3   | **Create and Manage Repositories**                                          |
| 3.1 | Create new repositories from scratch                                        |
| 3.2 | Import existing or mirror external repositories                             |
| 3.3 | Delete or deprecate repositories                                            |
| 4   | **Configure Repository Settings**                                           |
| 4.1 | Enable branch protection rules                                              |
| 4.2 | Configure security settings and access controls                             |
| 4.3 | Set up webhooks for CI/CD or external integrations                          |
| 5   | **Collaborate Through Git-Based Workflows**                                 |
| 5.1 | Clone repositories                                                          |
| 5.2 | Create, checkout, and manage branches                                       |
| 5.3 | Commit code changes and tag versions                                        |
| 6   | **Enhance Workflow with Labels and Search**                                 |
| 6.1 | Use labels and tags to organize code and PRs                                |
| 6.2 | Perform keyword-based and semantic searches                                 |
| 6.3 | Use advanced filters to streamline navigation                               |
| 7   | **Manage and Review Pull Requests**                                         |
| 7.1 | Create PRs for code contributions                                           |
| 7.2 | Review and approve PRs with comments                                        |
| 7.3 | Merge PRs and resolve conflicts                                             |
| 8   | **Integrate with Harness Pipelines**                                        |
| 8.1 | Set a default codebase for pipeline execution                               |
| 8.2 | Create triggers for pipeline runs based on code activity                    |
| 8.3 | Run and monitor pipeline executions                                         |
| 9   | **Leverage AI for Developer Productivity**                                  |
| 9.1 | Generate PR summaries with Harness AI                                       |
| 9.2 | Use AI-generated insights to support code reviews                           |
| 9.3 | Identify use cases for AI in code and pipeline automation                   |

</details>

**Next Steps**

The Code Repository Developer exam can start immediately after registering. Please allow up to 90 mins for the exam.

1. Create an account in Harness University
2. Register for an exam
3. Take the exam

[**Register for Exam**](https://university-registration.harness.io/code-repository-developer)
{% endtab %}

{% tab title="For Administrator" %}

### Code Repository - Administrator (BETA COMING SOON)

![Code Repository - Administrator (BETA COMING SOON) badge](https://2307127582-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Feh03Q8VHpO02MFM5nUSL%2Fuploads%2Fgit-blob-c06b10a462c9f5fd932ab979073e2cb078c6d091%2Fcert-adm-cr-badge.svg?alt=media)

**Product version:** Harness Paid Plans

{% hint style="info" %}
**Coming soon**

This certification is in beta and not yet open for registration.
{% endhint %}

Assesses the fundamental skills to deploy and maintain CR projects and the overall Harness Platform.
{% endtab %}

{% tab title="For Architect" %}

### Code Repository - Architect (BETA COMING SOON)

![Code Repository - Architect (BETA COMING SOON) badge](https://2307127582-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Feh03Q8VHpO02MFM5nUSL%2Fuploads%2Fgit-blob-a9cfd036a4970131ddccc8175a5681542290b736%2Fcert-arc-cr-badge.svg?alt=media)

**Product version:** Harness Paid Plans

{% hint style="info" %}
**Coming soon**

This certification is in beta and not yet open for registration.
{% endhint %}

Assess key technical job functions and advanced skills in design, implementation and management of CR.
{% endtab %}
{% endtabs %}
