> For the complete documentation index, see [llms.txt](https://docs-v2.hypertest.co/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs-v2.hypertest.co/user-guides/node.js-sdk/set-git-commit-hash.md).

# Set Git Commit Hash

Hypertest provides a way to set the Git commit hash for your application. This enables accurate tracking of coverage across different builds which will helps in comparing coverage metrics across multiple versions.

You can directly set the Git commit hash by adding the below code to your `index.js`:

```javascript
htSdk.setGitCommitHash(<git-commitHash>);
```

{% hint style="info" %}
The above call to set git commitHash should be done before starting the coverage measurement using `htSdk.measureContinuousCoverage()`.
{% endhint %}
