# Can't inizialitize git hub repository on VsCode

**URL:** https://forum.codewithmosh.com/t/cant-inizialitize-git-hub-repository-on-vscode/14108
**Category:** Git
**Created:** [August 2, 2022, 8:04pm UTC](https://forum.codewithmosh.com/t/cant-inizialitize-git-hub-repository-on-vscode/14108 "2022-08-02T20:04:41Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![andreshr](https://avatars.discourse-cdn.com/v4/letter/a/b5a626/32.png) [@andreshr](https://forum.codewithmosh.com/u/andreshr)
#### Post date: [August 2, 2022, 8:04pm UTC](https://forum.codewithmosh.com/t/cant-inizialitize-git-hub-repository-on-vscode/14108/1 "2022-08-02T20:04:41Z")

</div>

Hi!! Well I’ve been trying for a long time to initialize a repository on VsCode (i’m following HTML5 & CSS 3 course). Every time i try press “initialize repository” button it does nothing, i can’t “press it” (it’s like is enabled), it just doesn’t seem to work … Already created a Git Hub acc, installed Git Hub for desktop, went to “git hub” extension on VS to try to initilize it… but it doesn’t work

I have no idea what to do.  
Grateful to hear your tips

¿

 ![2022-08-02 (3)](https://us1.discourse-cdn.com/flex020/uploads/codewithmosh/original/2X/2/20a02639bff37baac0de0a8df8d82d0b14da519c.png)

---

<div class="post-metadata">

### Author: ![jmrunkle](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.codewithmosh.com/jmrunkle/32/3765_2.png) [@jmrunkle](https://forum.codewithmosh.com/u/jmrunkle)
#### Post date: [August 2, 2022, 10:45pm UTC](https://forum.codewithmosh.com/t/cant-inizialitize-git-hub-repository-on-vscode/14108/2 "2022-08-02T22:45:50Z")

</div>

There is a distinction between GitHub and Git. GitHub is an over-the-network centralized Git repository. Git is for local repository management. You may need to install Git itself if you have not already.

---

<div class="post-metadata">

### Author: ![andreshr](https://avatars.discourse-cdn.com/v4/letter/a/b5a626/32.png) [@andreshr](https://forum.codewithmosh.com/u/andreshr)
#### Post date: [August 3, 2022, 4:21pm UTC](https://forum.codewithmosh.com/t/cant-inizialitize-git-hub-repository-on-vscode/14108/3 "2022-08-03T16:21:38Z")

</div>

My bad, i meant to say i already installed “Git”! Thank you so much for the clarification  
Hope there’s something else we can do so i can “fix” my problem

thank you

---

<div class="post-metadata">

### Author: ![jmrunkle](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.codewithmosh.com/jmrunkle/32/3765_2.png) [@jmrunkle](https://forum.codewithmosh.com/u/jmrunkle)
#### Post date: [August 3, 2022, 4:53pm UTC](https://forum.codewithmosh.com/t/cant-inizialitize-git-hub-repository-on-vscode/14108/4 "2022-08-03T16:53:08Z")

</div>

A few more ideas:

1. Have you checked the docs linked to by the extension? They might have some more explicit setup instructions for making the extension work properly on Windows.
2. Have you tried the classic “turning it off and turning it back on again”? Some ways to do this include: (a) closing and reopening VSCode, (b) restarting your computer, (c) uninstall and reinstall the extension, (d) uninstall and reinstall Git.

Let me know if any of those help you make progress.

---

<div class="post-metadata">

### Author: ![andreshr](https://avatars.discourse-cdn.com/v4/letter/a/b5a626/32.png) [@andreshr](https://forum.codewithmosh.com/u/andreshr)
#### Post date: [August 3, 2022, 5:05pm UTC](https://forum.codewithmosh.com/t/cant-inizialitize-git-hub-repository-on-vscode/14108/5 "2022-08-03T17:05:41Z")

</div>

Thank you so much!! I’ll try all of them and let you know the feedback, thanks for your help. I’m sure somehow it’ll work

---

<div class="post-metadata">

### Author: ![andreshr](https://avatars.discourse-cdn.com/v4/letter/a/b5a626/32.png) [@andreshr](https://forum.codewithmosh.com/u/andreshr)
#### Post date: [August 3, 2022, 6:03pm UTC](https://forum.codewithmosh.com/t/cant-inizialitize-git-hub-repository-on-vscode/14108/6 "2022-08-03T18:03:33Z")

</div>

I tried restarting and updating my computer AND IT WORKED!!! THANK YOU SO MUCH  
You don’t know how grateful i am hahaha, i’ve been desperately looking, pressing, and just typing weird stuff to make it work and not even once thought of simply “restarting” my computer. Thank you, have a nice day
