file commited in one branch can't be seen in directory when switched to another directory