git is very powerful. and while you may think it may be easy, it is very easy to screwup.
files named "dev-whatever" are NOT ignored by git. files in the .gitignore file are ignored by git for that specific repo.
see:
https://github.com/zencart/zencart/blob/v158/.gitignore
one can also configure a global .gitignore for ones workstation which are not part of any specific repo.
someone who is new to git changing heads has problems written all over it (IMO). i would suggest reading up on changing branches.
good luck.
Bookmarks