Ash Gardner has played a captain's knock to guide her Gujarat Giants to a crucial victory that keeps their Women's Premier League hopes alive in India.