> 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/deploy-website-git-repository.md).

# Deploy website Git repository

Clones a Git repository into a directory of the website, or pulls it again.

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