# Fatal not valid: could not determine hash algorithm; is this a git repository?

**URL:** <https://forum.gitea.com/t/fatal-not-valid-could-not-determine-hash-algorithm-is-this-a-git-repository/5409>\
**Category:** General\
**Created:** [June 28, 2022, 8:53am UTC](https://forum.gitea.com/t/fatal-not-valid-could-not-determine-hash-algorithm-is-this-a-git-repository/5409 "2022-06-28T08:53:19Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![ucr](https://avatars.discourse-cdn.com/v4/letter/u/ecccb3/32.png) [@ucr](https://forum.gitea.com/u/ucr)\
**Post date:** [June 28, 2022, 8:53am UTC](https://forum.gitea.com/t/fatal-not-valid-could-not-determine-hash-algorithm-is-this-a-git-repository/5409/1 "2022-06-28T08:53:19Z")

</div>

Hi,

1. i install gitea Version: 1.16.8 on a sysnology NAS, everything works fine.
2. from the gitea website i create an org and repo
3. after that i got these instructions:

```auto
touch README.md
git init

git add README.md
git commit -m "first commit"
git remote add origin http://192.168.2.45:8418/myorg/myrepo.git
git push -u origin master

```

1. the excution ends with error.

```auto
C:\myrepo>git init
Initialized empty Git repository in C:/myrepo/.git/

C:\myrepo>git add README.md

C:\myrepo>git commit -m "first commit"
[master (root-commit) 627a0ce] first commit
 1 file changed, 1 insertion(+)
 create mode 100644 README.md

C:\myrepo>git remote add origin http://192.168.2.45:8418/myorg/myrepo.git

C:\myrepo>git push -u origin master
fatal: http://192.168.2.45:8418/myorg/myrepo.git/info/refs not valid: could not determine hash algorithm; is this a git repository?

```

whats going wrong?
