when use git-clone with --depth argument will save your time remove following space of lines which will cause trouble in index building.
use rebase could cause a clean and linear history, it's a good habit.