I am trying to learn git and created a local directory called local-repo with a couple of files. I then initialized git in this directory, added all the files to the staging area, and then committed them to the repository. Next, I cloned the repository in local-repo to another directory on my system called cloned-repo :  git clone ./.git ../cloned-repo
Next, I made some changes to one of the files and attempted to push the files back to the repository in local repo but ran into the problem described here. Based on the first answer, I executed git config --bool core.bare true in local-repo and then deleted all the files in that folder except .git. This allowed me to successfully push the repository in cloned-repo to local-repo: 
(base) sk@darwin:~/learn_git/cloned-repo$ git push origin master
Counting objects: 3, done.
Delta compression using up to 8 threads.
Compressing objects: 100% (3/3), done.
Writing objects: 100% (3/3), 336 bytes | 336.00 KiB/s, done.
Total 3 (delta 0), reused 0 (delta 0)
To /home/sk/learn_git/local-repo/./.git
   7ceaa95..8951be6  master -> master
However, I am unable to understand where the files actually are now, as local-repo still  contains only the .git directory: 
(base) sk@darwin:~/learn_git/cloned-repo$ cd ../local-repo/
(base) sk@darwin:~/learn_git/local-repo$ ls -al
total 12
drwxr-xr-x 3 sk sk 4096 Jun 17 19:36 .
drwxr-xr-x 4 sk sk 4096 Jun 17 18:28 ..
drwxr-xr-x 8 sk sk 4096 Jun 17 19:36 .git
Where the changed files actually pushed from cloned-repo to local-repo or is my understanding of the process incorrect?
