# Cannot authenticate to git push

**URL:** <https://discuss.huggingface.co/t/cannot-authenticate-to-git-push/139720>\
**Category:** Beginners\
**Created:** [February 8, 2025, 3:44pm UTC](https://discuss.huggingface.co/t/cannot-authenticate-to-git-push/139720 "2025-02-08T15:44:28Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![luisfesorret](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/luisfesorret/32/40576_2.png) [@luisfesorret](https://discuss.huggingface.co/u/luisfesorret)\
**Post date:** [February 8, 2025, 3:44pm UTC](https://discuss.huggingface.co/t/cannot-authenticate-to-git-push/139720/1 "2025-02-08T15:44:28Z")

</div>

Hello there,

maybe there should be a section for mega beginners 😉

cannot make a push keep getting the same error have tried quite a few times generated over 3 tokens maybe there some conflict when trying to

git remote set-url origin

![image](https://us1.discourse-cdn.com/hellohellohello/original/3X/f/1/f1f1276f848a90085dc7db3a828d9d1e7f6822a7.png)

thank you for all your Wonderful Wise Work,

cheers!

---

<div class="post-metadata">

**Author:** ![John6666](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/john6666/32/27664_2.png) [@John6666](https://discuss.huggingface.co/u/John6666)\
**Post date:** [February 9, 2025, 5:05am UTC](https://discuss.huggingface.co/t/cannot-authenticate-to-git-push/139720/2 "2025-02-09T05:05:17Z")

</div>

I don’t use the git command very often, so I don’t really understand, but it seems that the method itself has changed.

> **[Deprecation of Git Authentication using password](https://huggingface.co/blog/password-git-deprecation)**
>
> We’re on a journey to advance and democratize artificial intelligence through open source and open science.

---

<div class="post-metadata">

**Author:** ![EaziLuizi](https://avatars.discourse-cdn.com/v4/letter/e/a183cd/32.png) [@EaziLuizi](https://discuss.huggingface.co/u/EaziLuizi)\
**Post date:** [June 10, 2025, 10:30am UTC](https://discuss.huggingface.co/t/cannot-authenticate-to-git-push/139720/3 "2025-06-10T10:30:41Z")

</div>

Go to this URL to get your access token: [Hugging Face – The AI community building the future.](https://huggingface.co/settings/tokens)

Then in the pop-up that requests your username and password, enter your tokens name + value:

username: [access token Name]  
password: [access token Value]

Voila!
