# Git issue while pushing the code in repo

**URL:** <https://forum.codecrafters.io/t/git-issue-while-pushing-the-code-in-repo/4163>\
**Category:** General\
**Created:** [January 13, 2025, 3:01pm UTC](https://forum.codecrafters.io/t/git-issue-while-pushing-the-code-in-repo/4163 "2025-01-13T15:01:45Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Apoorv221](https://yyz1.discourse-cdn.com/flex003/user_avatar/forum.codecrafters.io/apoorv221/32/4225_2.png) [@Apoorv221](https://forum.codecrafters.io/u/Apoorv221)\
**Post date:** [January 13, 2025, 3:01pm UTC](https://forum.codecrafters.io/t/git-issue-while-pushing-the-code-in-repo/4163/1 "2025-01-13T15:01:45Z")

</div>

Hey,  
The moment I am trying to push the code in the git. I am getting this fatal error :  
fatal: ‘origin’ does not appear to be a git repository  
fatal: Could not read from remote repository.

Please make sure you have the correct access rights  
and the repository exists.

Can anybody help me on this?

---

<div class="post-metadata">

**Author:** ![andy1li](https://yyz1.discourse-cdn.com/flex003/user_avatar/forum.codecrafters.io/andy1li/32/10_2.png) [@andy1li](https://forum.codecrafters.io/u/andy1li)\
**Post date:** [January 14, 2025, 6:51am UTC](https://forum.codecrafters.io/t/git-issue-while-pushing-the-code-in-repo/4163/3 "2025-01-14T06:51:57Z")

</div>

Hi @Apoorv221, looks like you’ve solved the issue. Do you happen to remember what was wrong?

---

<div class="post-metadata">

**Author:** ![Apoorv221](https://yyz1.discourse-cdn.com/flex003/user_avatar/forum.codecrafters.io/apoorv221/32/4225_2.png) [@Apoorv221](https://forum.codecrafters.io/u/Apoorv221)\
**Post date:** [January 19, 2025, 7:57am UTC](https://forum.codecrafters.io/t/git-issue-while-pushing-the-code-in-repo/4163/5 "2025-01-19T07:57:00Z")

</div>

Yup it was majorly I was not having my git repo correct. So i just refreshed everything and it worked.

---

<div class="post-metadata">

**Author:** ![Apoorv221](https://yyz1.discourse-cdn.com/flex003/user_avatar/forum.codecrafters.io/apoorv221/32/4225_2.png) [@Apoorv221](https://forum.codecrafters.io/u/Apoorv221)\
**Post date:** [January 19, 2025, 8:25am UTC](https://forum.codecrafters.io/t/git-issue-while-pushing-the-code-in-repo/4163/6 "2025-01-19T08:25:06Z")

</div>

But I still have issue in finding my git repo on GitHub page. When I do git stash list for getting at least the repo link it giving me nothing.

---

<div class="post-metadata">

**Author:** ![andy1li](https://yyz1.discourse-cdn.com/flex003/user_avatar/forum.codecrafters.io/andy1li/32/10_2.png) [@andy1li](https://forum.codecrafters.io/u/andy1li)\
**Post date:** [January 19, 2025, 4:14pm UTC](https://forum.codecrafters.io/t/git-issue-while-pushing-the-code-in-repo/4163/7 "2025-01-19T16:14:08Z")

</div>

@Apoorv221 You’ve been pushing commits to our servers, so they didn’t show up on your GitHub profile.

To have the repo appear on your GitHub account, you can use our **Publish to GitHub** feature:

 ![image](https://canada1.discourse-cdn.com/flex003/uploads/codecrafters/original/2X/e/e800918a41074eebc8ed6810af7f34623b377bee.png)

> **[Publish to GitHub - CodeCrafters](https://docs.codecrafters.io/features/publish-to-github)**
>
> Learn more about the Publish to GitHub feature

---

<div class="post-metadata">

**Author:** ![Apoorv221](https://yyz1.discourse-cdn.com/flex003/user_avatar/forum.codecrafters.io/apoorv221/32/4225_2.png) [@Apoorv221](https://forum.codecrafters.io/u/Apoorv221)\
**Post date:** [January 19, 2025, 5:44pm UTC](https://forum.codecrafters.io/t/git-issue-while-pushing-the-code-in-repo/4163/8 "2025-01-19T17:44:30Z")

</div>

@andy1li Thanks man

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex003/uploads/codecrafters/original/3X/7/0/700657133935c15703e22c7c8870394f6e6dc27d.svg) [@system](https://forum.codecrafters.io/u/system)\
**Post date:** [January 24, 2025, 5:44pm UTC](https://forum.codecrafters.io/t/git-issue-while-pushing-the-code-in-repo/4163/9 "2025-01-24T17:44:48Z")

</div>

Closed on January 24, 2025, 5:44pm UTC

This topic was automatically closed 5 days after the last reply. New replies are no longer allowed.
