When I clone a repository from github or any other website
and type: git status
it checks the current branch for changes against origin remote and shows the message (before making any new commits) : Your branch is up-to-date with 'origin/master'.
But in repositories that I create it doesn't check for changes also I tried to add a remote with the same name origin
but this also did not work
I also looked at the documentation git help status
but there is no information about that.
so How I will make my repositories checks for changes against the origin remote whenever I use the command git status
?