fixed some bugs;added gitconfig file