I am new in learning programming, and got stuck while learning Git. From what I have learned so far, if we want to use Git locally, we may first need to create a folder, and then create a Git repository inside with the git init
command.
Are those files that wanted to be kept track of necessary to be in the same folder as the .git
directory?