Is gravity a repulsive force meaning it acts to pull objects together?

No. Gravity is an attractive force, meaning it acts to pull things together.