
You just need to add a flag to the `ls` command that will ask it to show hidden folders, and that’s the `-laf` flag.

With a bit of magic, though, we can see it ourselves. That period in front of the `.git` folder means that it’s actually a hidden folder, so it won’t show up in your Finder or Explorer window and is typically only meant for scripts and OS-level commands to access. select 'Enable version control integration. If `ls` and seeing your project’s folders isn’t enough for you, there’s another technique to be even more sure that you’re in the right place. You can use the following steps to push your code to a remote Git repository: Goto VCS in the menu bar.

The other way is to initialize a new Git repository using the `git init` command to set up version tracking in a new folder.Įither way, that `.git` folder I mentioned should exist in the repository’s root (top-most folder).

One way is to run the `git clone` command and clone a repository from an existing repository (whether that repository exists locally on your computer or on a server running Git such as ). Generally speaking, you can get a Git repository locally in one of two ways. How to really know you’re in a Git repository
