When I was making 1 gallon batches with their equipment, I'd take samples as folks have said, but with sanitized EVERYTHING. Sanitized hydrometer, cylinder, wine-thief, etc. I'd then pour the sample back into the carboy. 1 gallon isn't a lot of beer and 3 or 4 samplings uses a LOT of that...