add sample index and git ignore and untrack index api