Remove HEAD
Go to correct folder base on branch