This is completely theoretical, but I'm new to Git and Linux so I want to know.
If I accidentally manage to do
git init inside e.g Desktop or Home directory, how to prevent any possible disaster from happening?
git init creates hidden
.git directory where it's config-files are so is it just so simple to remove this hidden directory?
Would the directory it was in become "normal" again instead of git master branch?
Or would removing .git cause some problems? Like the directory trying to identify itself as git repository but cannot find the configs?