I have cloned a repository and in it there is a .git directory. What I'm worried is that if I commit, it will also commit to the original repository and that I don't want it to happen. Is there a way that I can do about it, by which it will not affect the original repository that I've cloned from.
Thanks in advance.
EDIT: What I normally did to maintain my repository is as below:
cd /path/to/my/local_repo
git remote add origin my_repo_link
git push -u origin --all