> For the complete documentation index, see [llms.txt](https://docs.hostinger.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.hostinger.com/api-reference/endpoints/hosting/git/list-website-git-repositories.md).

# List website Git repositories

Lists the Git repositories linked to directories of the website, with Deploy website Git repository or in the Git section of hPanel: clone URL, branch and directory of each one.

{% openapi src="<https://developers.hostinger.com/openapi/openapi.json>" path="/api/hosting/v1/accounts/{username}/websites/{domain}/git/repositories" method="get" %}
<https://developers.hostinger.com/openapi/openapi.json>
{% endopenapi %}
