The G Fund is the safest investment fund for your TSP, because it invests in government securities. However, the best option for you depends on your risk tolerance and target retirement date, so it's a good idea to consult with a financial advisor.